1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Tao Nelson <taobert@gmail.com>
Date: Sat, 20 Sep 2025 22:09:40 +0100
Subject: Fixes blinking pointer and 100% CPU usage with GTK applications
Bug-Debian: https://bugs.debian.org/266118
---
unclutter.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/unclutter.c b/unclutter.c
index 9d0302c..c016663 100644
--- a/unclutter.c
+++ b/unclutter.c
@@ -399,7 +399,9 @@ main(argc,argv)char **argv;{
do{
XNextEvent(display,&event);
}while(event.type!=LeaveNotify &&
- event.type!=FocusOut &&
+ /* Some gtk applications seem not to like this:
+ * event.type!=FocusOut &&
+ */
event.type!=UnmapNotify &&
event.type!=ConfigureNotify &&
event.type!=CirculateNotify &&
|