summaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/FbWindow.cc8
-rw-r--r--src/FbTk/FbWindow.hh3
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
559void FbWindow::addToSaveSet() {
560 XAddToSaveSet(display(), m_window);
561}
562
563void FbWindow::removeFromSaveSet() {
564 XRemoveFromSaveSet(display(), m_window);
565}
566
559int FbWindow::screenNumber() const { 567int 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