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:
committed by
Carlos R. Mafra
parent
dee30d06ac
commit
2affd6d484
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user