* src/keyboard.c (mark_kboards):
* src/pgtkterm.c (mark_pgtkterm): Mark `device' as well.
mark_object (event->ie.y);
mark_object (event->ie.frame_or_window);
mark_object (event->ie.arg);
+
+ /* This should never be allocated for a single event, but
+ mark it anyway in the situation where the list of devices
+ changed but an event with an old device is still present
+ in the queue. */
+ mark_object (event->ie.device);
}
}
}
mark_object (ev->ie.y);
mark_object (ev->ie.frame_or_window);
mark_object (ev->ie.arg);
+ mark_object (ev->ie.device);
}
for (dpyinfo = x_display_list; dpyinfo;