[broadway] Missed a place to use event time

This commit is contained in:
Alexander Larsson 2010-11-20 22:37:54 +01:00
parent 8f9c6eb1a9
commit cdd274a55c

View File

@ -217,7 +217,7 @@ got_input (GInputStream *stream,
{
event = gdk_event_new (GDK_LEAVE_NOTIFY);
event->crossing.window = g_object_ref (display_broadway->mouse_in_toplevel);
event->crossing.time = g_get_monotonic_time () / 1000;
event->crossing.time = time;
event->crossing.x = x - GDK_WINDOW_OBJECT (display_broadway->mouse_in_toplevel)->x;
event->crossing.y = y - GDK_WINDOW_OBJECT (display_broadway->mouse_in_toplevel)->y;
event->crossing.x_root = x;