ui/frames: Drop the current grab info on button release

This was added in commit d05b750b8d and
later removed inadvertently in commit
d561b3b18f .

https://bugzilla.gnome.org/show_bug.cgi?id=767969
This commit is contained in:
Rui Matos 2016-06-23 15:38:03 +02:00
parent a174c18fb5
commit 1d2bead358

View File

@ -1114,6 +1114,7 @@ handle_button_release_event (MetaUIFrame *frame,
{ {
Display *display = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()); Display *display = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
frame->frames->current_grab_op = META_GRAB_OP_NONE;
meta_core_end_grab_op (display, event->time); meta_core_end_grab_op (display, event->time);
/* We only handle the releases we handled the presses for (things /* We only handle the releases we handled the presses for (things