window: Make sure to end the grab even if the last action was a snap

This seems to be a cherry-pick failure while we were switching event
handling around. This matches what the master branch does.
This commit is contained in:
Jasper St. Pierre 2014-04-09 12:40:13 -07:00
parent d7c4f57aae
commit 954677dcbd

View File

@ -7569,8 +7569,8 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window,
*/ */
update_tile_mode (window); update_tile_mode (window);
} }
meta_display_end_grab_op (window->display, event->any.time);
} }
meta_display_end_grab_op (window->display, event->any.time);
} }
break; break;