--- a/unclutter.c	2025-05-17 23:11:53.709868560 +0000
+++ b/unclutter.c	2025-05-17 23:11:12.811903184 +0000
@@ -73,7 +73,7 @@
  * window can disappear while we are trying to create the child. Trap and
  * ignore these errors.
  */
-int (*defaulthandler)();
+int (*defaulthandler)(Display *display, XErrorEvent *error);
 int errorhandler(display,error)
 Display *display;
 XErrorEvent *error;
