added propertyNotify function

This commit is contained in:
fluxgen 2003-06-18 13:35:36 +00:00
parent 0d5ccfd2a1
commit 1314a15988
4 changed files with 11 additions and 6 deletions

View file

@ -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:

View file

@ -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);

View file

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

View file

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