]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xterm.c (x_term_init): Don't catch errors too many times.
authorPo Lu <luangruo@yahoo.com>
Wed, 23 Feb 2022 00:58:06 +0000 (08:58 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 23 Feb 2022 00:58:06 +0000 (08:58 +0800)
src/xterm.c

index fffa40840ab05c29bb03fc4d150549ee22ebe1c9..7d4b43773ea92383bf5473c801d0b7d3a9bb0b7f 100644 (file)
@@ -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);