diff options
author | simonb <simonb> | 2007-08-04 17:14:13 (GMT) |
---|---|---|
committer | simonb <simonb> | 2007-08-04 17:14:13 (GMT) |
commit | b27336033143158acbde1d2f36977dd25c10ab96 (patch) | |
tree | 7e7ac6b5e6fa892ad646d86d0c61dbce0fa05d9e /src/FbTk | |
parent | c144b7344d1724e9f9a9ed282b564598fe850fba (diff) | |
download | fluxbox_lack-b27336033143158acbde1d2f36977dd25c10ab96.zip fluxbox_lack-b27336033143158acbde1d2f36977dd25c10ab96.tar.bz2 |
Fix system tray restart issues
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 |