all repos — openbox @ 5bf70002f92ce6612ccc781c73a1ec843ffc1ce6

openbox fork - make it a bit more like ryudo

support the kde override_redirect hint, to make a window decor-less
Dana Jansens danakj@orodu.net
commit

5bf70002f92ce6612ccc781c73a1ec843ffc1ce6

parent

05a8e51f177b1d0215bcd8c4b6f7b65e7ba7d3ed

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

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

@@ -58,8 +58,8 @@ getArea();

getDesktop(); updateTransientFor(); - getType(); getMwmHints(); + getType(); // this can change the mwmhints for special cases getState(); getShaped();

@@ -188,9 +188,11 @@ else if (val[i] == otk::Property::atoms.net_wm_window_type_dialog)

_type = Type_Dialog; else if (val[i] == otk::Property::atoms.net_wm_window_type_normal) _type = Type_Normal; -// XXX: make this work again -// else if (val[i] == otk::Property::atoms.kde_net_wm_window_type_override) -// mwm_decorations = 0; // prevent this window from getting any decor + else if (val[i] == otk::Property::atoms.kde_net_wm_window_type_override){ + // prevent this window from getting any decor + _mwmhints.flags &= MwmFlag_Decorations; + _mwmhints.decorations = 0; + } if (_type != (WindowType) -1) break; // grab the first known type }