[Xfce4-commits] <xfwm4:master> Do not exit the move/resize loop when just any key is pressed unless the ops is triggered via the keyboard (this should be nough to fix the remaining part of bug #8233, the rest being addressed by the sync grab committed some time ago)

Olivier Fourdan noreply at xfce.org
Mon Dec 12 20:52:01 CET 2011


Updating branch refs/heads/master
         to 6e8f12e4797fbe142b678ff4f4cfaa2ac3d27b81 (commit)
       from 0529b95e91a2b6b7fd0ea15665f69ad8a055867b (commit)

commit 6e8f12e4797fbe142b678ff4f4cfaa2ac3d27b81
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Mon Dec 12 17:54:46 2011 +0100

    Do not exit the move/resize loop when just any key is pressed unless the ops is triggered via the keyboard (this should be nough to fix the remaining part of bug #8233, the rest being addressed by the sync grab committed some time ago)

 src/moveresize.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/moveresize.c b/src/moveresize.c
index e23cd4c..110d13e 100644
--- a/src/moveresize.c
+++ b/src/moveresize.c
@@ -700,7 +700,7 @@ clientMoveEventFilter (XEvent * xevent, gpointer data)
                 passdata->move_resized = TRUE;
             }
         }
-        else
+        else if (passdata->use_keys)
         {
             moving = clientKeyPressIsModifier(xevent);
         }
@@ -1322,7 +1322,7 @@ clientResizeEventFilter (XEvent * xevent, gpointer data)
                 clientResizeConfigure (c, prev_x, prev_y, prev_width, prev_height);
             }
         }
-        else
+        else if (passdata->use_keys)
         {
             resizing = clientKeyPressIsModifier(xevent);
         }


More information about the Xfce4-commits mailing list