Propagate the "send_event" flag for emulated events

This fixes bug 593011, where we were getting a bogus time on sent events
and the gnome-panel specifically looked for this and worked around it.
This commit is contained in:
Alexander Larsson 2009-08-26 10:34:15 +02:00
parent a2edc3c6bf
commit 2400e1440e

View File

@ -8717,6 +8717,8 @@ _gdk_make_event (GdkWindow *window,
event->any.window = g_object_ref (window);
event->any.send_event = FALSE;
if (event_in_queue && event_in_queue->any.send_event)
event->any.send_event = TRUE;
switch (type)
{