summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,