aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 9ca220d3fbb..5a3019401f6 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -9922,10 +9922,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
9922 9922
9923 /* Emacs can only handle core input events, so make sure 9923 /* Emacs can only handle core input events, so make sure
9924 Gtk doesn't use Xinput or Xinput2 extensions. */ 9924 Gtk doesn't use Xinput or Xinput2 extensions. */
9925 { 9925 xputenv ("GDK_CORE_DEVICE_EVENTS=1");
9926 static char fix_events[] = "GDK_CORE_DEVICE_EVENTS=1";
9927 putenv (fix_events);
9928 }
9929 9926
9930 /* Work around GLib bug that outputs a faulty warning. See 9927 /* Work around GLib bug that outputs a faulty warning. See
9931 https://bugzilla.gnome.org/show_bug.cgi?id=563627. */ 9928 https://bugzilla.gnome.org/show_bug.cgi?id=563627. */