From fdaefcf7951a53d3a353ffde17efeae02b5e4214 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Thu, 23 Jun 2005 03:10:26 +0000 Subject: moved window menu from FluxboxWindow to BScreen --- src/Remember.hh | 8 ++++++-- 1 file 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: void updateFrameClose(FluxboxWindow &win); void updateClientClose(WinClient &winclient); + void initForScreen(BScreen &screen); + // Functions we ignore (zero from AtomHandler) // Leaving here in case they might be useful later - void initForScreen(BScreen &screen) {} + void updateFocusedWindow(BScreen &, Window) { } void updateClientList(BScreen &screen) {} @@ -229,6 +231,8 @@ public: BScreen * screen, WinClient * const winclient) { return false; } // ignore this bool propertyNotify(WinClient &winclient, Atom the_property) { return false; } + + static Remember &instance() { return *s_instance; } private: // returns number of lines read @@ -238,7 +242,7 @@ private: Clients m_clients; Startups m_startups; - + static Remember *s_instance; }; #endif // REMEMBER_HH -- cgit v0.11.2