a couple frame layout bugfixes hidden inside all this.. wee
authorDana Jansens <danakj@orodu.net>
Tue, 5 Aug 2003 10:31:20 +0000 (10:31 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 5 Aug 2003 10:31:20 +0000 (10:31 +0000)
commit2494762dbf89e0ea8eb72c460c6f7281fa0a2204
treeac1b917249f017201b28e96f685e1cb7dc9c99f7
parent853d5f4b70ccc475ae25806a6683406119236b29
a couple frame layout bugfixes hidden inside all this.. wee
fixes for maximizing windows:
 - when you toggledecor, it will reconfigure once, but the new constraints from the decor changes would not be in effect when the window was resized to the contranits. fixed by calling frame_adjust_area first thing ni client_configure_fulll with fake=TRUE which will recalc all the frame geometry without resizing/redrawing anything in the frame. this way the decor can take effect in the geometries.
 - when maxed horizontally, make the client fill the screen, but dont do this by just making it wider than the screen, fit it to the screen and adjust the titlebar/handle as appropriate to keep it all on the screen.
 - when maxed horizontally and vertically, remove the handle from the decorations
openbox/client.c
openbox/frame.c
openbox/frame.h
openbox/framerender.c