emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 6985caa: Fix input after setting x-wait-for-event


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 6985caa: Fix input after setting x-wait-for-event-timeout nil
Date: Tue, 19 Feb 2019 13:59:36 -0500 (EST)

branch: emacs-26
commit 6985caa86e49e4a69e4d7ff7ec6d25cca301d560
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix input after setting x-wait-for-event-timeout nil
    
    * src/w32term.c (x_make_frame_visible): Call unblock_input
    before returning early.  (Bug#34575)
---
 src/w32term.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/w32term.c b/src/w32term.c
index a9b5793..dbaf105 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -6672,7 +6672,10 @@ x_make_frame_visible (struct frame *f)
     }
 
   if (!FLOATP (Vx_wait_for_event_timeout))
+    {
+      unblock_input ();
       return;
+    }
 
   /* Synchronize to ensure Emacs knows the frame is visible
      before we do anything else.  We do this loop with input not blocked



reply via email to

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