Merge pull request #10070 from heitbaum/unclutter

unclutter: fix gcc-15 build
This commit is contained in:
Ian Leonard 2025-05-17 23:46:01 -04:00 committed by GitHub
commit b6150dae99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;