don't show handles on windows that cannot resize
This commit is contained in:
parent
b23476ed58
commit
b2006b8b45
1 changed files with 1 additions and 1 deletions
|
@ -1645,7 +1645,7 @@ void client_setup_decor_and_functions(ObClient *self)
|
|||
if (!(self->functions & OB_CLIENT_FUNC_ICONIFY))
|
||||
self->decorations &= ~OB_FRAME_DECOR_ICONIFY;
|
||||
if (!(self->functions & OB_CLIENT_FUNC_RESIZE))
|
||||
self->decorations &= ~OB_FRAME_DECOR_GRIPS;
|
||||
self->decorations &= ~(OB_FRAME_DECOR_GRIPS | OB_FRAME_DECOR_HANDLE);
|
||||
|
||||
/* can't maximize without moving/resizing */
|
||||
if (!((self->functions & OB_CLIENT_FUNC_MAXIMIZE) &&
|
||||
|
|
Loading…
Reference in a new issue