emacs-diffs
[Top][All Lists]
Advanced

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

master 3b9bbb24eb: Fix the GTK build


From: Po Lu
Subject: master 3b9bbb24eb: Fix the GTK build
Date: Tue, 31 May 2022 20:58:06 -0400 (EDT)

branch: master
commit 3b9bbb24ebcb23e9686bd0f3d70b6e65a83e80ab
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix the GTK build
    
    * src/xterm.c (x_wait_for_cell_change): Don't initialize rfds
    on GTK.
---
 src/xterm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xterm.c b/src/xterm.c
index 186014b0b4..f062e6485d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -14857,9 +14857,9 @@ x_wait_for_cell_change (Lisp_Object cell, struct 
timespec timeout)
   struct timespec current, at;
 
   at = timespec_add (current_timespec (), timeout);
-  FD_ZERO (&rfds);
 
 #ifndef USE_GTK
+  FD_ZERO (&rfds);
   rc = 0;
 #endif
 



reply via email to

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