summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-18 13:35:36 (GMT)
committerfluxgen <fluxgen>2003-06-18 13:35:36 (GMT)
commit1314a15988c3d922cb8dd45807b0cea449ff9a5a (patch)
treec1dbb273192bf2558df40fb67e25b3b206e4e377
parent0d5ccfd2a1c9b6760dc9a50bc42e55fa09e690e0 (diff)
downloadfluxbox_lack-1314a15988c3d922cb8dd45807b0cea449ff9a5a.zip
fluxbox_lack-1314a15988c3d922cb8dd45807b0cea449ff9a5a.tar.bz2
added propertyNotify function
-rw-r--r--src/AtomHandler.hh4
-rw-r--r--src/Gnome.hh3
-rw-r--r--src/Remember.hh6
-rw-r--r--src/ToolbarHandler.hh4
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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: AtomHandler.hh,v 1.7 2003/03/03 21:51:00 rathnor Exp $ 22// $Id: AtomHandler.hh,v 1.8 2003/06/18 13:32:19 fluxgen Exp $
23 23
24#ifndef ATOMHANDLER_HH 24#ifndef ATOMHANDLER_HH
25#define ATOMHANDLER_HH 25#define ATOMHANDLER_HH
@@ -50,6 +50,8 @@ public:
50 virtual bool checkClientMessage(const XClientMessageEvent &ce, 50 virtual bool checkClientMessage(const XClientMessageEvent &ce,
51 BScreen * screen, FluxboxWindow * const win) = 0; 51 BScreen * screen, FluxboxWindow * const win) = 0;
52 52
53 virtual bool propertyNotify(FluxboxWindow &win, Atom the_property) = 0;
54
53 /// should this object be updated or not? 55 /// should this object be updated or not?
54 bool update() const { return m_update; } 56 bool update() const { return m_update; }
55protected: 57protected:
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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Gnome.hh,v 1.6 2003/03/03 21:51:01 rathnor Exp $ 22// $Id: Gnome.hh,v 1.7 2003/06/18 13:32:43 fluxgen Exp $
23 23
24#ifndef GNOME_HH 24#ifndef GNOME_HH
25#define GNOME_HH 25#define GNOME_HH
@@ -81,6 +81,7 @@ public:
81 81
82 // ignore these ones 82 // ignore these ones
83 void updateWindowClose(FluxboxWindow &win) {} 83 void updateWindowClose(FluxboxWindow &win) {}
84 bool propertyNotify(FluxboxWindow &win, Atom the_property) { return false; }
84 85
85private: 86private:
86 void setLayer(FluxboxWindow *win, int layer); 87 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 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// $Id: Remember.hh,v 1.7 2003/06/12 15:12:19 rathnor Exp $ 24// $Id: Remember.hh,v 1.8 2003/06/18 13:34:56 fluxgen Exp $
25 25
26/* Based on the original "Remember patch" by Xavier Brouckaert */ 26/* Based on the original "Remember patch" by Xavier Brouckaert */
27 27
@@ -181,8 +181,8 @@ public:
181 181
182 bool checkClientMessage(const XClientMessageEvent &ce, 182 bool checkClientMessage(const XClientMessageEvent &ce,
183 BScreen * screen, FluxboxWindow * const win) { return false; } 183 BScreen * screen, FluxboxWindow * const win) { return false; }
184 184 // ignore this
185 185 bool propertyNotify(FluxboxWindow &win, Atom the_property) { return false; }
186private: 186private:
187 187
188 // returns number of lines read 188 // 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 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: ToolbarHandler.hh,v 1.2 2003/04/16 13:43:49 rathnor Exp $ 23// $Id: ToolbarHandler.hh,v 1.3 2003/06/18 13:35:36 fluxgen Exp $
24 24
25#ifndef TOOLBARHANDLER_HH 25#ifndef TOOLBARHANDLER_HH
26#define TOOLBARHANDLER_HH 26#define TOOLBARHANDLER_HH
@@ -72,6 +72,8 @@ public:
72 bool checkClientMessage(const XClientMessageEvent &ce, 72 bool checkClientMessage(const XClientMessageEvent &ce,
73 BScreen * screen, FluxboxWindow * const win) { return false; } 73 BScreen * screen, FluxboxWindow * const win) { return false; }
74 74
75 bool propertyNotify(FluxboxWindow &win, Atom the_atom) { return false; }
76
75 inline FbTk::Menu &getModeMenu() { return m_modemenu; } 77 inline FbTk::Menu &getModeMenu() { return m_modemenu; }
76 inline const FbTk::Menu &getModeMenu() const { return m_modemenu; } 78 inline const FbTk::Menu &getModeMenu() const { return m_modemenu; }
77 inline FbTk::Menu &getToolbarMenu() { return m_toolbarmenu; } 79 inline FbTk::Menu &getToolbarMenu() { return m_toolbarmenu; }