diff options
| author | Po Lu | 2022-07-07 10:50:49 +0800 |
|---|---|---|
| committer | Po Lu | 2022-07-07 10:50:49 +0800 |
| commit | ca58872a5370bc9683c8bc0128c1f896410fdb6b (patch) | |
| tree | 01d9fd0047d8acdcc5336e2fb211d91a5dbf1192 | |
| parent | fd016ea99724f7abedfddbb470ab96ece6ddf4ae (diff) | |
| download | emacs-ca58872a5370bc9683c8bc0128c1f896410fdb6b.tar.gz emacs-ca58872a5370bc9683c8bc0128c1f896410fdb6b.zip | |
Fix NS build
* src/keyboard.c (process_special_events): Don't define copy and
moved events on the wrong toolkit.
| -rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 76dc3732b54..84a7a0a38a5 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -4361,12 +4361,14 @@ static void | |||
| 4361 | process_special_events (void) | 4361 | process_special_events (void) |
| 4362 | { | 4362 | { |
| 4363 | union buffered_input_event *event; | 4363 | union buffered_input_event *event; |
| 4364 | #if defined HAVE_X11 || defined HAVE_PGTK || defined HAVE_HAIKU | ||
| 4364 | #ifndef HAVE_HAIKU | 4365 | #ifndef HAVE_HAIKU |
| 4365 | struct selection_input_event copy; | 4366 | struct selection_input_event copy; |
| 4366 | #else | 4367 | #else |
| 4367 | struct input_event copy; | 4368 | struct input_event copy; |
| 4368 | #endif | 4369 | #endif |
| 4369 | int moved_events; | 4370 | int moved_events; |
| 4371 | #endif | ||
| 4370 | 4372 | ||
| 4371 | for (event = kbd_fetch_ptr; event != kbd_store_ptr; | 4373 | for (event = kbd_fetch_ptr; event != kbd_store_ptr; |
| 4372 | event = next_kbd_event (event)) | 4374 | event = next_kbd_event (event)) |