From 1314a15988c3d922cb8dd45807b0cea449ff9a5a Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 18 Jun 2003 13:35:36 +0000 Subject: added propertyNotify function --- src/AtomHandler.hh | 4 +++- src/Gnome.hh | 3 ++- src/Remember.hh | 6 +++--- src/ToolbarHandler.hh | 4 +++- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/AtomHandler.hh b/src/AtomHandler.hh index fcc0cd4..13183c9 100644 --- a/src/AtomHandler.hh +++ b/src/AtomHandler.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: AtomHandler.hh,v 1.7 2003/03/03 21:51:00 rathnor Exp $ +// $Id: AtomHandler.hh,v 1.8 2003/06/18 13:32:19 fluxgen Exp $ #ifndef ATOMHANDLER_HH #define ATOMHANDLER_HH @@ -50,6 +50,8 @@ public: virtual bool checkClientMessage(const XClientMessageEvent &ce, BScreen * screen, FluxboxWindow * const win) = 0; + virtual bool propertyNotify(FluxboxWindow &win, Atom the_property) = 0; + /// should this object be updated or not? bool update() const { return m_update; } protected: diff --git a/src/Gnome.hh b/src/Gnome.hh index e36cae2..6c78444 100644 --- a/src/Gnome.hh +++ b/src/Gnome.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Gnome.hh,v 1.6 2003/03/03 21:51:01 rathnor Exp $ +// $Id: Gnome.hh,v 1.7 2003/06/18 13:32:43 fluxgen Exp $ #ifndef GNOME_HH #define GNOME_HH @@ -81,6 +81,7 @@ public: // ignore these ones void updateWindowClose(FluxboxWindow &win) {} + bool propertyNotify(FluxboxWindow &win, Atom the_property) { return false; } private: void setLayer(FluxboxWindow *win, int layer); diff --git a/src/Remember.hh b/src/Remember.hh index d3a30e0..0e8ffe7 100644 --- a/src/Remember.hh +++ b/src/Remember.hh @@ -21,7 +21,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Remember.hh,v 1.7 2003/06/12 15:12:19 rathnor Exp $ +// $Id: Remember.hh,v 1.8 2003/06/18 13:34:56 fluxgen Exp $ /* Based on the original "Remember patch" by Xavier Brouckaert */ @@ -181,8 +181,8 @@ public: bool checkClientMessage(const XClientMessageEvent &ce, BScreen * screen, FluxboxWindow * const win) { return false; } - - + // ignore this + bool propertyNotify(FluxboxWindow &win, Atom the_property) { return false; } private: // returns number of lines read diff --git a/src/ToolbarHandler.hh b/src/ToolbarHandler.hh index 1f084ba..4017e53 100644 --- a/src/ToolbarHandler.hh +++ b/src/ToolbarHandler.hh @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ToolbarHandler.hh,v 1.2 2003/04/16 13:43:49 rathnor Exp $ +// $Id: ToolbarHandler.hh,v 1.3 2003/06/18 13:35:36 fluxgen Exp $ #ifndef TOOLBARHANDLER_HH #define TOOLBARHANDLER_HH @@ -72,6 +72,8 @@ public: bool checkClientMessage(const XClientMessageEvent &ce, BScreen * screen, FluxboxWindow * const win) { return false; } + bool propertyNotify(FluxboxWindow &win, Atom the_atom) { return false; } + inline FbTk::Menu &getModeMenu() { return m_modemenu; } inline const FbTk::Menu &getModeMenu() const { return m_modemenu; } inline FbTk::Menu &getToolbarMenu() { return m_toolbarmenu; } -- cgit v0.11.2