* src/xterm.c (init_xterm): Use more reliable method to disable XI2.
This commit is contained in:
parent
bb33446f2a
commit
f6811ff8e2
1 changed files with 4 additions and 0 deletions
|
@ -16952,7 +16952,11 @@ init_xterm (void)
|
|||
/* Emacs can handle only core input events when built without XI2
|
||||
support, so make sure Gtk doesn't use Xinput or Xinput2
|
||||
extensions. */
|
||||
#ifndef HAVE_GTK3
|
||||
xputenv ("GDK_CORE_DEVICE_EVENTS=1");
|
||||
#else
|
||||
gdk_disable_multidevice ();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue