don't let you maximize menu and toolbars
Dana Jansens danakj@orodu.net
1 files changed,
5 insertions(+),
3 deletions(-)
jump to
M
openbox/client.c
→
openbox/client.c
@@ -1625,9 +1625,11 @@ break;
case OB_CLIENT_TYPE_MENU: case OB_CLIENT_TYPE_TOOLBAR: - /* these windows can't iconify */ - self->decorations &= ~OB_FRAME_DECOR_ICONIFY; - self->functions &= ~OB_CLIENT_FUNC_ICONIFY; + /* these windows can't iconify or maximize */ + self->decorations &= ~(OB_FRAME_DECOR_ICONIFY | + OB_FRAME_DECOR_MAXIMIZE); + self->functions &= ~(OB_CLIENT_FUNC_ICONIFY | + OB_CLIENT_FUNC_MAXIMIZE); break; case OB_CLIENT_TYPE_SPLASH: