diff options
author | Po Lu <luangruo@yahoo.com> | 2022-02-23 08:58:06 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-02-23 08:58:06 +0800 |
commit | b16e36476e1317ad40a04e2036b2dabf170935c2 (patch) | |
tree | 437ea3f61aa6e2e0de00631eef12d9836620f733 | |
parent | 1f00710ecfac12de12f4a2046b9b66802b8ffac6 (diff) | |
download | emacs-b16e36476e1317ad40a04e2036b2dabf170935c2.tar.gz |
* src/xterm.c (x_term_init): Don't catch errors too many times.
-rw-r--r-- | src/xterm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index fffa40840ab..7d4b43773ea 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); |