summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2010-07-21 07:20:28 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2010-07-21 07:20:28 +0200
commit4fad7769e43c529030b4e755a1e8c9eb61f368b8 (patch)
tree98494a399123ea034b66ac01158c57807f5215da
parent82c6feae82fad6efbb619296b9d8e31ace257b10 (diff)
downloadmcwm-4fad7769e43c529030b4e755a1e8c9eb61f368b8.zip
Raise window before moving to corner, otherwise we might end up under
another window.
-rw-r--r--mcwm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mcwm.c b/mcwm.c
index 4d43601..268b50a 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -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))
{