summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-30 22:58:12 +0000
committerDana Jansens <danakj@orodu.net>2003-01-30 22:58:12 +0000
commit9e894362082b9cfe3d6169f85cabdd3fc3c04baa (patch)
tree60753be66426222d519050b1ea532405b7f1d532 /src
parent8934a553dcfbb0ea6035d2de8ed86595d3703f5a (diff)
add functions to give the skipTaskbar/Pager state
Diffstat (limited to 'src')
-rw-r--r--src/client.cc2
-rw-r--r--src/client.hh6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/client.cc b/src/client.cc
index d2a75b6a..52312f82 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -1203,7 +1203,7 @@ void Client::changeState()
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)
diff --git a/src/client.hh b/src/client.hh
index e70dc268..d43984cb 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -549,7 +549,11 @@ BB @param window The window id that the Client class should handle
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.
*/