mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
fixed [joeyh@debian.org: Bug#99311: full screen maximization cuts off bottom 6 pixels]
This commit is contained in:
@@ -498,8 +498,14 @@ wMaximizeWindow(WWindow *wwin, int directions)
|
||||
}
|
||||
|
||||
wWindowConstrainSize(wwin, &new_width, &new_height);
|
||||
|
||||
wWindowCropSize(wwin, usableArea.x2-usableArea.x1,
|
||||
usableArea.y2-usableArea.y1,
|
||||
&new_width, &new_height);
|
||||
|
||||
wWindowConfigure(wwin, new_x, new_y, new_width, new_height);
|
||||
|
||||
|
||||
#ifdef GNOME_STUFF
|
||||
wGNOMEUpdateClientStateHint(wwin, False);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user