aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.hh')
-rw-r--r--src/Remember.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Remember.hh b/src/Remember.hh
index fdcd8e9..3b61450 100644
--- a/src/Remember.hh
+++ b/src/Remember.hh
@@ -208,10 +208,12 @@ public:
208 void updateFrameClose(FluxboxWindow &win); 208 void updateFrameClose(FluxboxWindow &win);
209 void updateClientClose(WinClient &winclient); 209 void updateClientClose(WinClient &winclient);
210 210
211 void initForScreen(BScreen &screen);
212
211 // Functions we ignore (zero from AtomHandler) 213 // Functions we ignore (zero from AtomHandler)
212 // Leaving here in case they might be useful later 214 // Leaving here in case they might be useful later
213 215
214 void initForScreen(BScreen &screen) {} 216
215 217
216 void updateFocusedWindow(BScreen &, Window) { } 218 void updateFocusedWindow(BScreen &, Window) { }
217 void updateClientList(BScreen &screen) {} 219 void updateClientList(BScreen &screen) {}
@@ -229,6 +231,8 @@ public:
229 BScreen * screen, WinClient * const winclient) { return false; } 231 BScreen * screen, WinClient * const winclient) { return false; }
230 // ignore this 232 // ignore this
231 bool propertyNotify(WinClient &winclient, Atom the_property) { return false; } 233 bool propertyNotify(WinClient &winclient, Atom the_property) { return false; }
234
235 static Remember &instance() { return *s_instance; }
232private: 236private:
233 237
234 // returns number of lines read 238 // returns number of lines read
@@ -238,7 +242,7 @@ private:
238 Clients m_clients; 242 Clients m_clients;
239 243
240 Startups m_startups; 244 Startups m_startups;
241 245 static Remember *s_instance;
242}; 246};
243 247
244#endif // REMEMBER_HH 248#endif // REMEMBER_HH