mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-28 01:12:30 +01:00
Define TITLEBAR_HEIGHT in default configuration file
...and use it in src/placement.c And while we are at it, clean up a bit the visual of wconfig.h.in
This commit is contained in:
@@ -324,7 +324,7 @@ static void set_width_height(WWindow *wwin, unsigned int *width, unsigned int *h
|
||||
*height += wwin->frame->top_width + wwin->frame->bottom_width;
|
||||
} else {
|
||||
if (HAS_TITLEBAR(wwin))
|
||||
*height += 18;
|
||||
*height += TITLEBAR_HEIGHT;
|
||||
if (HAS_RESIZEBAR(wwin))
|
||||
*height += RESIZEBAR_HEIGHT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user