don't show handles on windows that cannot resize

This commit is contained in:
Dana Jansens 2007-05-11 21:31:19 +00:00
parent b23476ed58
commit b2006b8b45

View file

@ -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) &&