all repos — openbox @ 58cd3958a331e55699b3c1f640c0d2da907cdf22

openbox fork - make it a bit more like ryudo

decor and functions set set right for !normal windows
Dana Jansens danakj@orodu.net
commit

58cd3958a331e55699b3c1f640c0d2da907cdf22

parent

b02c91caad1ef6ddaebe8d58a410a089d47f1f59

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

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

@@ -48,13 +48,13 @@ // XXX: updateTransientFor();

getType(); // set the decorations and functions + _decorations = Decor_Titlebar | Decor_Handle | Decor_Border | + Decor_Iconify | Decor_Maximize; + _functions = Func_Resize | Func_Move | Func_Iconify | Func_Maximize; switch (_type) { case Type_Normal: // normal windows retain all of the possible decorations and // functionality - _decorations = Decor_Titlebar | Decor_Handle | Decor_Border | - Decor_Iconify | Decor_Maximize; - _functions = Func_Resize | Func_Move | Func_Iconify | Func_Maximize; case Type_Dialog: // dialogs cannot be maximized