mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
added arbitrary window levels
This commit is contained in:
@@ -471,8 +471,8 @@ wMaximizeWindow(WWindow *wwin, int directions)
|
||||
new_height = (usableArea.y2-usableArea.y1)-FRAME_BORDER_WIDTH*2;
|
||||
new_y = usableArea.y1;
|
||||
if (WFLAGP(wwin, full_maximize)) {
|
||||
new_y -= wwin->frame->top_width - 1;
|
||||
new_height += wwin->frame->bottom_width - 3;
|
||||
new_y -= wwin->frame->top_width;
|
||||
new_height += wwin->frame->bottom_width - 1;
|
||||
}
|
||||
} else {
|
||||
new_y = wwin->frame_y;
|
||||
|
||||
Reference in New Issue
Block a user