emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 46f24bf08f: Fix GTK native input methods randomly freezing input


From: Po Lu
Subject: master 46f24bf08f: Fix GTK native input methods randomly freezing input
Date: Wed, 12 Jan 2022 21:13:11 -0500 (EST)

branch: master
commit 46f24bf08f6cc12aa8945ae0257c810a59a8803c
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix GTK native input methods randomly freezing input
    
    * src/gtkutil.c (xg_widget_key_press_event_cb): Exercise the X11
    connection causing pselect to return immediately from input.
    (bug#53160)
---
 src/gtkutil.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/gtkutil.c b/src/gtkutil.c
index 1db166b1ba..7f635f8fe2 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -6255,9 +6255,7 @@ xg_widget_key_press_event_cb (GtkWidget *widget, GdkEvent 
*event,
       kbd_buffer_store_buffered_event (&inev, &xg_pending_quit_event);
     }
 
-#ifdef USABLE_SIGIO
-  raise (SIGIO);
-#endif
+  XNoOp (FRAME_X_DISPLAY (f));
   return true;
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]