changeset 55575:a71808c780ee

(mark_kboards): Don't mark x and y members that are overloaded in selection request events.
author Kim F. Storm <storm@cua.dk>
date Thu, 13 May 2004 21:41:37 +0000
parents becfa8f0bdfd
children 77a79f33714b
files src/keyboard.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Thu May 13 21:40:19 2004 +0000
+++ b/src/keyboard.c	Thu May 13 21:41:37 2004 +0000
@@ -11413,8 +11413,11 @@
       {
 	if (event == kbd_buffer + KBD_BUFFER_SIZE)
 	  event = kbd_buffer;
-	mark_object (event->x);
-	mark_object (event->y);
+	if (event->kind != SELECTION_REQUEST_EVENT)
+	  {
+	    mark_object (event->x);
+	    mark_object (event->y);
+	  }
 	mark_object (event->frame_or_window);
 	mark_object (event->arg);
       }