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
parent da5b9f3255
commit 992b97d565

View File

@ -9711,7 +9711,8 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window,
switch (xev->evtype)
{
case XI_ButtonRelease:
if (xev->detail == 1)
if (xev->detail == 1 ||
xev->detail == meta_prefs_get_mouse_button_resize ())
{
meta_display_check_threshold_reached (window->display,
xev->root_x,