[Xfce4-commits] <xfwm4:xfce-4.8> 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:12 CET 2011


Updating branch refs/heads/xfce-4.8
         to af78b582b4b263aba713af5567a900b578d6ed05 (commit)
       from dc16278441eb16a6736fa23c522dea541b9dc670 (commit)

commit af78b582b4b263aba713af5567a900b578d6ed05
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 f1f25ea..ff6bf40 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);
         }
@@ -1323,7 +1323,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