diff options
author | Michael Cardell Widerkrantz <mc@hack.org> | 2010-07-21 07:20:28 +0200 |
---|---|---|
committer | Michael Cardell Widerkrantz <mc@hack.org> | 2010-07-21 07:20:28 +0200 |
commit | 4fad7769e43c529030b4e755a1e8c9eb61f368b8 (patch) | |
tree | 98494a399123ea034b66ac01158c57807f5215da | |
parent | 82c6feae82fad6efbb619296b9d8e31ace257b10 (diff) | |
download | mcwm-4fad7769e43c529030b4e755a1e8c9eb61f368b8.zip |
Raise window before moving to corner, otherwise we might end up under
another window.
-rw-r--r-- | mcwm.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1862,6 +1862,8 @@ void topleft(void) { return; } + + raisewindow(focuswin->id); if (!getpointer(focuswin->id, &pointx, &pointy)) { @@ -1887,6 +1889,8 @@ void topright(void) { return; } + + raisewindow(focuswin->id); if (!getpointer(focuswin->id, &pointx, &pointy)) { @@ -1920,6 +1924,8 @@ void botleft(void) { return; } + + raisewindow(focuswin->id); if (!getpointer(focuswin->id, &pointx, &pointy)) { @@ -1952,6 +1958,8 @@ void botright(void) { return; } + + raisewindow(focuswin->id); if (!getpointer(focuswin->id, &pointx, &pointy)) { |