1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00

Fix NS build

* src/keyboard.c (process_special_events): Don't define copy and
moved events on the wrong toolkit.
This commit is contained in:
Po Lu 2022-07-07 10:50:49 +08:00
parent fd016ea997
commit ca58872a53

View File

@ -4361,12 +4361,14 @@ static void
process_special_events (void)
{
union buffered_input_event *event;
#if defined HAVE_X11 || defined HAVE_PGTK || defined HAVE_HAIKU
#ifndef HAVE_HAIKU
struct selection_input_event copy;
#else
struct input_event copy;
#endif
int moved_events;
#endif
for (event = kbd_fetch_ptr; event != kbd_store_ptr;
event = next_kbd_event (event))