From: Po Lu Date: Wed, 1 Jun 2022 13:28:26 +0000 (+0800) Subject: ; * src/xterm.c (x_wait_for_cell_change): Don't call ConnectionNumber twice. X-Git-Tag: emacs-29.0.90~1910^2~295^2~12 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=65ffb115b4ad42fc5881a0f2fdcba5b8a3561b28;p=emacs.git ; * src/xterm.c (x_wait_for_cell_change): Don't call ConnectionNumber twice. --- diff --git a/src/xterm.c b/src/xterm.c index 214419a3360..7234e7c7584 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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