]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xterm.c (x_wait_for_cell_change): Don't call ConnectionNumber twice.
authorPo Lu <luangruo@yahoo.com>
Wed, 1 Jun 2022 13:28:26 +0000 (21:28 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 1 Jun 2022 13:28:35 +0000 (21:28 +0800)
src/xterm.c

index 214419a33606320b0659c466b6c2613eec9306c6..7234e7c7584bdd75c507498045a968e2a9a70f8b 100644 (file)
@@ -14912,7 +14912,7 @@ x_wait_for_cell_change (Lisp_Object cell, struct timespec timeout)
            maxfd = fd;
 
          eassert (fd < FD_SETSIZE);
-         FD_SET (XConnectionNumber (dpyinfo->display), &fds);
+         FD_SET (fd, &fds);
        }
 
       /* Prevent events from being lost (from GTK's point of view) by