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

Make window border size configurable.

Use the new preference FrameBorderWidth to configure the width of frame
window borders.
This commit is contained in:
Iain Patterson
2013-03-26 07:01:08 +00:00
committed by Carlos R. Mafra
parent dee30d06ac
commit 2affd6d484
13 changed files with 44 additions and 33 deletions

View File

@@ -876,7 +876,7 @@ static void manageAllWindows(WScreen * scr, int crashRecovery)
if (crashRecovery) {
int border;
border = (!HAS_BORDER(wwin) ? 0 : FRAME_BORDER_WIDTH);
border = (!HAS_BORDER(wwin) ? 0 : scr->frame_border_width);
wWindowMove(wwin, wwin->frame_x - border,
wwin->frame_y - border -