diff options
| author | Joakim Verona | 2012-12-08 18:26:49 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-08 18:26:49 +0100 |
| commit | bf2e04d89c5b9a6aedfce2e55b001bc3e2b2deda (patch) | |
| tree | dbd1f92e1bfa1b9d1f3073972cc5dd0ce3440538 /src/xterm.c | |
| parent | 64fde7a1daeff88ff057f43979fe8fa18094bd82 (diff) | |
| parent | 5745a7df2b4abe06d032820f6ec7ddbac9ad5028 (diff) | |
| download | emacs-bf2e04d89c5b9a6aedfce2e55b001bc3e2b2deda.tar.gz emacs-bf2e04d89c5b9a6aedfce2e55b001bc3e2b2deda.zip | |
auto upstream
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 5 |
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. */ |