From df68d8d0b09df1aa26b17232cd8501ced20b2c11 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 28 Jun 2004 13:33:05 +0000 Subject: minor stuff --- src/Gnome.cc | 17 +++++++++++++++-- src/Gnome.hh | 4 ++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/Gnome.cc b/src/Gnome.cc index a01e79b..18bd491 100644 --- a/src/Gnome.cc +++ b/src/Gnome.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Gnome.cc,v 1.35 2004/06/07 11:46:04 rathnor Exp $ +// $Id: Gnome.cc,v 1.36 2004/06/28 13:33:05 fluxgen Exp $ #include "Gnome.hh" @@ -131,6 +131,18 @@ void Gnome::setupFrame(FluxboxWindow &win) { } + +bool Gnome::propertyNotify(WinClient &winclient, Atom the_property) { + if (the_property == m_gnome_wm_win_state) { +#ifdef DEBUG + cerr<<__FILE__<<"("<<__FUNCTION__<<"): _WIN_STATE"<changeProperty(m_gnome_wm_win_state, XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&state, 1); + } } void Gnome::updateLayer(FluxboxWindow &win) { diff --git a/src/Gnome.hh b/src/Gnome.hh index d0968cf..d8ed412 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.11 2004/01/19 18:27:17 fluxgen Exp $ +// $Id: Gnome.hh,v 1.12 2004/06/28 13:33:05 fluxgen Exp $ #ifndef GNOME_HH #define GNOME_HH @@ -85,7 +85,7 @@ public: // ignore these ones void updateFrameClose(FluxboxWindow &win) {} void updateClientClose(WinClient &winclient) {} - bool propertyNotify(WinClient &winclient, Atom the_property) { return false; } + bool propertyNotify(WinClient &winclient, Atom the_property); private: void setLayer(FluxboxWindow *win, int layer); -- cgit v0.11.2