diff options
author | Alexander Gramiak <agrambot@gmail.com> | 2019-05-19 20:18:54 -0600 |
---|---|---|
committer | Alexander Gramiak <agrambot@gmail.com> | 2019-05-19 20:18:54 -0600 |
commit | 20241e2c764263ebf31cfb0c6a7a0d3b9ba52429 (patch) | |
tree | c43baa9728cdce49d15dae8eb2975f3c6a02628f | |
parent | b2b1ccb86df85705fe88360da27f237b1197575b (diff) | |
download | emacs-20241e2c764263ebf31cfb0c6a7a0d3b9ba52429.tar.gz |
Use HAVE_WINDOW_SYSTEM over HAVE_X11 || HAVE_NTGUI || HAVE_NS
* src/keyboard.c (kbd_buffer_get_event, make_lispy_event): Use
HAVE_WINDOW_SYSTEM.
-rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 5f2b7afe6d1..bb4d185c914 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3909,7 +3909,7 @@ kbd_buffer_get_event (KBOARD **kbp, case END_SESSION_EVENT: case LANGUAGE_CHANGE_EVENT: #endif -#if defined (HAVE_X11) || defined (HAVE_NTGUI) || defined (HAVE_NS) +#ifdef HAVE_WINDOW_SYSTEM case DELETE_WINDOW_EVENT: case ICONIFY_EVENT: case DEICONIFY_EVENT: @@ -5283,7 +5283,7 @@ make_lispy_event (struct input_event *event) switch (event->kind) { -#if defined (HAVE_X11) || defined (HAVE_NTGUI) || defined (HAVE_NS) +#ifdef HAVE_WINDOW_SYSTEM case DELETE_WINDOW_EVENT: /* Make an event (delete-frame (FRAME)). */ return list2 (Qdelete_frame, list1 (event->frame_or_window)); |