dont give decorless windows a border when toggling decorations
This commit is contained in:
parent
b9d47c49d6
commit
b7d2693742
1 changed files with 2 additions and 2 deletions
|
@ -1180,9 +1180,9 @@ void client_setup_decor_and_functions(ObClient *self)
|
|||
self->decorations &= ~OB_FRAME_DECOR_HANDLE;
|
||||
|
||||
/* finally, the user can have requested no decorations, which overrides
|
||||
everything */
|
||||
everything (but doesnt give it a border if it doesnt have one) */
|
||||
if (self->undecorated)
|
||||
self->decorations = OB_FRAME_DECOR_BORDER;
|
||||
self->decorations &= OB_FRAME_DECOR_BORDER;
|
||||
|
||||
/* if we don't have a titlebar, then we cannot shade! */
|
||||
if (!(self->decorations & OB_FRAME_DECOR_TITLEBAR))
|
||||
|
|
Loading…
Reference in a new issue