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 cf943627e2
commit ef4417b717

View File

@ -9706,7 +9706,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,