]> git.eshelyaron.com Git - emacs.git/commitdiff
(kbd_buffer_get_event, swallow_events): Fix prev change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 31 Jul 1995 05:34:55 +0000 (05:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 31 Jul 1995 05:34:55 +0000 (05:34 +0000)
src/keyboard.c

index 7037747ceb0048b9713994470e8a0234a34ee08f..2810ec0b02bd44058cce70b48f8a2e160e81dc74 100644 (file)
@@ -2582,7 +2582,7 @@ kbd_buffer_get_event (kbp, used_mouse_menu)
          copy = *event;
          kbd_fetch_ptr = event + 1;
          input_pending = readable_events ();
-         x_handle_selection_clear (event);
+         x_handle_selection_clear (&copy);
 #else
          /* We're getting selection request events, but we don't have
              a window system.  */
@@ -2790,7 +2790,7 @@ swallow_events ()
 
          kbd_fetch_ptr = event + 1;
          input_pending = readable_events ();
-         x_handle_selection_clear (event);
+         x_handle_selection_clear (&copy);
 #else
          /* We're getting selection request events, but we don't have
              a window system.  */