1
0
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:
Carlos R. Mafra
2009-08-28 20:59:47 +02:00
parent 2f87d01a41
commit 328251c68a
2 changed files with 87 additions and 187 deletions

View File

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