all repos — openbox @ a7ccc544500fe84e707f6e511261276b819d8906

openbox fork - make it a bit more like ryudo

dont show a handle if it cant be resized at all
Dana Jansens danakj@orodu.net
commit

a7ccc544500fe84e707f6e511261276b819d8906

parent

34ed8c17acb4916db160c152436f3b9745dd6576

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/client.ccsrc/client.cc

@@ -220,7 +220,7 @@ _decorations |= Decor_Close;

_functions |= Func_Close; } - if (_min_size.x() > _max_size.x() || _min_size.y() > _max_size.y()) { + if (!(_min_size.x() < _max_size.x() || _min_size.y() < _max_size.y())) { _decorations &= ~(Decor_Maximize | Decor_Handle); _functions &= ~(Func_Resize | Func_Maximize); }