unclutter: fix gcc-15 build

This commit is contained in:
Rudi Heitbaum 2025-05-17 23:14:16 +00:00
parent e43b9f9e39
commit cbec1b03df

View File

@ -0,0 +1,11 @@
--- 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;