diff options
author | MC <mc@hack.org> | 2010-06-20 21:10:52 +0200 |
---|---|---|
committer | MC <mc@hack.org> | 2010-06-20 21:10:52 +0200 |
commit | c71ffa605d52222277e0ef998db25df0cdaf8163 (patch) | |
tree | e740018b6cfde68258e274a08048a24e2fae59a6 /mcwm.c | |
parent | 98d81f75a3e8509e841f9e180e2104e45f6460c5 (diff) | |
download | mcwm-c71ffa605d52222277e0ef998db25df0cdaf8163.zip |
Raise first when maximizing vertically.
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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, |