File: 03-fix-gtk-blinking.patch

package info (click to toggle)
unclutter 8-26
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: ansic: 1,758; makefile: 170; sh: 81
file content (24 lines) | stat: -rw-r--r-- 754 bytes parent folder | download
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 &&