From: Alexander Gramiak Date: Mon, 20 May 2019 02:18:54 +0000 (-0600) Subject: Use HAVE_WINDOW_SYSTEM over HAVE_X11 || HAVE_NTGUI || HAVE_NS X-Git-Tag: emacs-27.0.90~2805^2~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=20241e2c764263ebf31cfb0c6a7a0d3b9ba52429;p=emacs.git 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. --- 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));