Fix quirk ordering in man page.
.It FOCUSPREV
On exit force focus on previously focused application not previous
application in the stack.
+.It MINIMALBORDER
+Remove border when window is unfocused and floating.
.It NOFOCUSCYCLE
Remove from normal focus cycle (focus_prev or focus_next). The window can
still be focused using search_win.
-.It MINIMALBORDER
-Remove border when window is unfocused and floating.
.It NOFOCUSONMAP
Don't change focus to the window when it first appears on the screen.
Has no effect when
&cfw->s->c[(MAXIMIZED(cfw) ?
SWM_S_COLOR_UNFOCUS_MAXIMIZED :
SWM_S_COLOR_UNFOCUS)].pixel);
+
+ /* Update border width */
+ if (cfw->bordered &&
+ (cfw->quirks & SWM_Q_MINIMALBORDER) &&
+ FLOATING(cfw)) {
+ cfw->bordered = 0;
+ X(cfw) += border_width;
+ Y(cfw) += border_width;
+ update_window(cfw);
+ }
} else {
unfocus_win(cfw);
}