all repos — openbox @ 9e894362082b9cfe3d6169f85cabdd3fc3c04baa

openbox fork - make it a bit more like ryudo

add functions to give the skipTaskbar/Pager state
Dana Jansens danakj@orodu.net
commit

9e894362082b9cfe3d6169f85cabdd3fc3c04baa

parent

8934a553dcfbb0ea6035d2de8ed86595d3703f5a

2 files changed, 6 insertions(+), 2 deletions(-)

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

@@ -1203,7 +1203,7 @@ state[0] = _wmstate;

state[1] = None; otk::Property::set(_window, otk::Property::atoms.wm_state, otk::Property::atoms.wm_state, state, 2); - + Atom netstate[10]; int num = 0; if (_modal)
M src/client.hhsrc/client.hh

@@ -549,7 +549,11 @@ If the window is modal, then no other windows that it is related to can get

focus while it exists/remains modal. */ inline bool modal() const { return _modal; } - //! Returns if the window is shaded + //! The window should not be displayed by pagers + inline bool skipPager() const { return _skip_pager; } + //! The window should not be displayed by taskbars + inline bool skipTaskbar() const { return _skip_taskbar; } + //! Returns if the window is shaded /*! When the window is shaded, only its titlebar is visible. */