1
0
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:
kojima
2001-06-06 18:20:23 +00:00
parent adfe32ea1f
commit 7e1f0e1e48
3 changed files with 35 additions and 1 deletions

View File

@@ -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