1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

fixed bug with icons of different sizes

made Apply work in window inspector for windows with no WM_CLASS
This commit is contained in:
kojima
2000-01-20 11:51:42 +00:00
parent ae354fc758
commit 34cd5125e3
22 changed files with 1101 additions and 707 deletions

View File

@@ -469,14 +469,13 @@ 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;
if (WFLAGP(wwin, full_maximize)) {
new_y -= wwin->frame->top_width - 1;
new_height += wwin->frame->bottom_width - 3;
}
} else {
new_y = wwin->frame_y;
new_height = wwin->frame->core->height;
}
if (!WFLAGP(wwin, full_maximize)) {