[mutter] window: don't ignore resize button release event for move/resize actions
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: don't ignore resize button release event for move/resize actions
- Date: Mon, 4 Nov 2013 13:53:07 +0000 (UTC)
commit ef4417b71770149f5dfc5080870d4d542df74b0b
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Wed Oct 16 21:29:54 2013 +0100
window: don't ignore resize button release event for move/resize actions
https://bugzilla.gnome.org/show_bug.cgi?id=710251
src/core/window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index f5826bb..d7056a8 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]