display: Pass timestamp to meta_display_end_grab_op

We need to pass the timestamp not the event detail to meta_display_end_grab_op

https://bugzilla.gnome.org/show_bug.cgi?id=690580
This commit is contained in:
Adel Gadllah 2013-02-13 18:18:26 +01:00
parent 995e8040dd
commit 579bf2105e

View File

@ -2091,7 +2091,7 @@ event_callback (XEvent *event,
display->grab_old_window_stacking); display->grab_old_window_stacking);
} }
meta_display_end_grab_op (display, meta_display_end_grab_op (display,
device_event->detail); device_event->time);
} }
else if (window && display->grab_op == META_GRAB_OP_NONE) else if (window && display->grab_op == META_GRAB_OP_NONE)
{ {