summaryrefslogtreecommitdiff
path: root/mcwm.c
diff options
context:
space:
mode:
authorMC <mc@hack.org>2010-06-20 21:10:52 +0200
committerMC <mc@hack.org>2010-06-20 21:10:52 +0200
commitc71ffa605d52222277e0ef998db25df0cdaf8163 (patch)
treee740018b6cfde68258e274a08048a24e2fae59a6 /mcwm.c
parent98d81f75a3e8509e841f9e180e2104e45f6460c5 (diff)
downloadmcwm-c71ffa605d52222277e0ef998db25df0cdaf8163.zip
Raise first when maximizing vertically.
Diffstat (limited to 'mcwm.c')
-rw-r--r--mcwm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mcwm.c b/mcwm.c
index af2f643..63d59dc 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -864,7 +864,13 @@ void maxvert(xcb_drawable_t win)
return;
}
- /* FIXME: Check if maximized already. If so, revert to stored geometry. */
+ /*
+ * FIXME: Check if maximized already. If so, revert to stored
+ * geometry.
+ */
+
+ /* Raise first. Pretty silly to maximize below something else. */
+ raisewindow(win);
/* Get window geometry. */
geom = xcb_get_geometry_reply(conn,