add functions to give the skipTaskbar/Pager state
This commit is contained in:
parent
8934a553dc
commit
9e89436208
2 changed files with 6 additions and 2 deletions
|
@ -1203,7 +1203,7 @@ void Client::changeState()
|
||||||
state[1] = None;
|
state[1] = None;
|
||||||
otk::Property::set(_window, otk::Property::atoms.wm_state,
|
otk::Property::set(_window, otk::Property::atoms.wm_state,
|
||||||
otk::Property::atoms.wm_state, state, 2);
|
otk::Property::atoms.wm_state, state, 2);
|
||||||
|
|
||||||
Atom netstate[10];
|
Atom netstate[10];
|
||||||
int num = 0;
|
int num = 0;
|
||||||
if (_modal)
|
if (_modal)
|
||||||
|
|
|
@ -549,7 +549,11 @@ BB @param window The window id that the Client class should handle
|
||||||
focus while it exists/remains modal.
|
focus while it exists/remains modal.
|
||||||
*/
|
*/
|
||||||
inline bool modal() const { return _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.
|
When the window is shaded, only its titlebar is visible.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue