Commit 20241e2c authored by Alexander Gramiak's avatar Alexander Gramiak

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.
parent b2b1ccb8
Pipeline #1748 failed with stage
in 53 minutes and 26 seconds
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment