From: Kim F. Storm Date: Thu, 13 May 2004 21:41:37 +0000 (+0000) Subject: (mark_kboards): Don't mark x and y members X-Git-Tag: ttn-vms-21-2-B4~6238 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0161caf94f22a75414450978e7944ab3eefa23d8;p=emacs.git (mark_kboards): Don't mark x and y members that are overloaded in selection request events. --- diff --git a/src/keyboard.c b/src/keyboard.c index 9ce832ea42c..b9e455a4431 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -11413,8 +11413,11 @@ mark_kboards () { 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); }