[Xfce4-commits] <xfwm4:master> Fix key testing to avoid tiling up whatever key tile is used (oops)

Olivier Fourdan noreply at xfce.org
Mon Feb 13 10:20:01 CET 2012


Updating branch refs/heads/master
         to 6ed2575f92173ac40cb0f04bd3a730cb618d9d3d (commit)
       from ce855a1ac1c5b80e3d6896b4d96cd938a7dab9b9 (commit)

commit 6ed2575f92173ac40cb0f04bd3a730cb618d9d3d
Author: Olivier Fourdan <ofourdan at redhat.com>
Date:   Mon Feb 13 10:18:58 2012 +0100

    Fix key testing to avoid tiling up whatever key tile is used (oops)

 src/events.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/events.c b/src/events.c
index 73c5051..6ef3b22 100644
--- a/src/events.c
+++ b/src/events.c
@@ -434,14 +434,17 @@ handleKeyPress (DisplayInfo *display_info, XKeyEvent * ev)
                 clientTile (c, frameX (c) + frameWidth (c) / 2,
                                frameY (c) + frameHeight (c) / 2,
                                TILE_DOWN);
+                break;
             case KEY_TILE_LEFT:
                 clientTile (c, frameX (c) + frameWidth (c) / 2,
                                frameY (c) + frameHeight (c) / 2,
                                TILE_LEFT);
+                break;
             case KEY_TILE_RIGHT:
                 clientTile (c, frameX (c) + frameWidth (c) / 2,
                                frameY (c) + frameHeight (c) / 2,
                                TILE_RIGHT);
+                break;
             case KEY_TILE_UP:
                 clientTile (c, frameX (c) + frameWidth (c) / 2,
                                frameY (c) + frameHeight (c) / 2,


More information about the Xfce4-commits mailing list