diff options
author | simonb <simonb> | 2007-08-04 17:16:04 (GMT) |
---|---|---|
committer | simonb <simonb> | 2007-08-04 17:16:04 (GMT) |
commit | 138a3c2af1694c353531cebfb5342161af2f5b91 (patch) | |
tree | 72fe3bfe850a8f777e037a6b0e9310f26ede1e31 /src/FbTk | |
parent | 373e1c36fc62f891545affcc235ec512bf9ecb1e (diff) | |
download | fluxbox-138a3c2af1694c353531cebfb5342161af2f5b91.zip fluxbox-138a3c2af1694c353531cebfb5342161af2f5b91.tar.bz2 |
forward port systray fixes
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/FbWindow.cc | 8 | ||||
-rw-r--r-- | src/FbTk/FbWindow.hh | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index 2c2bb24..f8141cf 100644 --- a/src/FbTk/FbWindow.cc +++ b/src/FbTk/FbWindow.cc | |||
@@ -556,6 +556,14 @@ void FbWindow::deleteProperty(Atom property) { | |||
556 | XDeleteProperty(display(), m_window, property); | 556 | XDeleteProperty(display(), m_window, property); |
557 | } | 557 | } |
558 | 558 | ||
559 | void FbWindow::addToSaveSet() { | ||
560 | XAddToSaveSet(display(), m_window); | ||
561 | } | ||
562 | |||
563 | void FbWindow::removeFromSaveSet() { | ||
564 | XRemoveFromSaveSet(display(), m_window); | ||
565 | } | ||
566 | |||
559 | int FbWindow::screenNumber() const { | 567 | int FbWindow::screenNumber() const { |
560 | return m_screen_num; | 568 | return m_screen_num; |
561 | } | 569 | } |
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index a1b93cc..091fb48 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh | |||
@@ -165,6 +165,9 @@ public: | |||
165 | 165 | ||
166 | std::string textProperty(Atom property) const; | 166 | std::string textProperty(Atom property) const; |
167 | 167 | ||
168 | void addToSaveSet(); | ||
169 | void removeFromSaveSet(); | ||
170 | |||
168 | /// @return parent FbWindow | 171 | /// @return parent FbWindow |
169 | const FbWindow *parent() const { return m_parent; } | 172 | const FbWindow *parent() const { return m_parent; } |
170 | /// @return real X window | 173 | /// @return real X window |