window: don't ignore resize button release event for move/resize actions

https://bugzilla.gnome.org/show_bug.cgi?id=710251
This commit is contained in:
Lionel Landwerlin 2013-10-16 21:29:54 +01:00 committed by Jasper St. Pierre
parent a841fff2ac
commit 6867d44573

View File

@ -10001,7 +10001,8 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window,
switch (event->type)
{
case CLUTTER_BUTTON_RELEASE:
if (event->button.button == 1)
if (event->button.button == 1 ||
event->button.button == meta_prefs_get_mouse_button_resize ())
{
meta_display_check_threshold_reached (window->display,
event->button.x,