emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ca58872a53: Fix NS build


From: Po Lu
Subject: master ca58872a53: Fix NS build
Date: Wed, 6 Jul 2022 22:51:08 -0400 (EDT)

branch: master
commit ca58872a5370bc9683c8bc0128c1f896410fdb6b
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix NS build
    
    * src/keyboard.c (process_special_events): Don't define copy and
    moved events on the wrong toolkit.
---
 src/keyboard.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/keyboard.c b/src/keyboard.c
index 76dc3732b5..84a7a0a38a 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]