all repos — fluxbox @ 1314a15988c3d922cb8dd45807b0cea449ff9a5a

custom fork of the fluxbox windowmanager

added propertyNotify function
fluxgen fluxgen
commit

1314a15988c3d922cb8dd45807b0cea449ff9a5a

parent

0d5ccfd2a1c9b6760dc9a50bc42e55fa09e690e0

4 files changed, 11 insertions(+), 6 deletions(-)

jump to
M src/AtomHandler.hhsrc/AtomHandler.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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

@@ -49,6 +49,8 @@ virtual void updateLayer(FluxboxWindow &win) = 0;

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; }
M src/Gnome.hhsrc/Gnome.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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 @@ bool checkClientMessage(const XClientMessageEvent &ce, BScreen * screen, FluxboxWindow * const win);

// ignore these ones void updateWindowClose(FluxboxWindow &win) {} + bool propertyNotify(FluxboxWindow &win, Atom the_property) { return false; } private: void setLayer(FluxboxWindow *win, int layer);
M src/Remember.hhsrc/Remember.hh

@@ -21,7 +21,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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 @@ void updateLayer(FluxboxWindow &win) {}

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
M src/ToolbarHandler.hhsrc/ToolbarHandler.hh

@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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

@@ -71,6 +71,8 @@ void updateLayer(FluxboxWindow &win) {}

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; }