dont let maximizing occur if the window cant move or resize
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
src/client.cc
→
src/client.cc
@@ -300,6 +300,10 @@ // _functions &= ~Func_Close;
} } + // can't maximize without moving/resizing + if (!((_functions & Func_Move) && (_functions & Func_Resize))) + _functions &= ~Func_Maximize; + // finally, user specified disabled decorations are applied to subtract // decorations if (_disabled_decorations & Decor_Titlebar)