emacs-diffs
[Top][All Lists]
Advanced

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

master b16e36476e: * src/xterm.c (x_term_init): Don't catch errors too m


From: Po Lu
Subject: master b16e36476e: * src/xterm.c (x_term_init): Don't catch errors too many times.
Date: Tue, 22 Feb 2022 19:59:50 -0500 (EST)

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

    * src/xterm.c (x_term_init): Don't catch errors too many times.
---
 src/xterm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/xterm.c b/src/xterm.c
index fffa40840a..7d4b43773e 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -16283,10 +16283,11 @@ x_term_init (Lisp_Object display_name, char 
*xrm_option, char *resource_name)
                       &xi_first_error))
     {
 #ifdef HAVE_GTK3
-    query:
       /* Catch errors caused by GTK requesting a different version of
         XInput 2 than what Emacs was built with.  */
       x_catch_errors (dpyinfo->display);
+
+    query:
 #endif
 
       rc = XIQueryVersion (dpyinfo->display, &major, &minor);



reply via email to

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