diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 9c24a074e3d..60d87ccbf09 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -16952,7 +16952,11 @@ init_xterm (void) | |||
| 16952 | /* Emacs can handle only core input events when built without XI2 | 16952 | /* Emacs can handle only core input events when built without XI2 |
| 16953 | support, so make sure Gtk doesn't use Xinput or Xinput2 | 16953 | support, so make sure Gtk doesn't use Xinput or Xinput2 |
| 16954 | extensions. */ | 16954 | extensions. */ |
| 16955 | #ifndef HAVE_GTK3 | ||
| 16955 | xputenv ("GDK_CORE_DEVICE_EVENTS=1"); | 16956 | xputenv ("GDK_CORE_DEVICE_EVENTS=1"); |
| 16957 | #else | ||
| 16958 | gdk_disable_multidevice (); | ||
| 16959 | #endif | ||
| 16956 | #endif | 16960 | #endif |
| 16957 | } | 16961 | } |
| 16958 | #endif | 16962 | #endif |