aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-06-28 13:33:05 (GMT)
committerfluxgen <fluxgen>2004-06-28 13:33:05 (GMT)
commitdf68d8d0b09df1aa26b17232cd8501ced20b2c11 (patch)
tree6087a63b653c351acd2cec9ebaab10c853ab7eb1 /src/Gnome.cc
parent92d37fd50d8461582adbb60909e641eca533d72f (diff)
downloadfluxbox-df68d8d0b09df1aa26b17232cd8501ced20b2c11.zip
fluxbox-df68d8d0b09df1aa26b17232cd8501ced20b2c11.tar.bz2
minor stuff
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc17
1 files changed, 15 insertions, 2 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 @@
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.cc,v 1.35 2004/06/07 11:46:04 rathnor Exp $ 22// $Id: Gnome.cc,v 1.36 2004/06/28 13:33:05 fluxgen Exp $
23 23
24#include "Gnome.hh" 24#include "Gnome.hh"
25 25
@@ -131,6 +131,18 @@ void Gnome::setupFrame(FluxboxWindow &win) {
131 131
132} 132}
133 133
134
135bool Gnome::propertyNotify(WinClient &winclient, Atom the_property) {
136 if (the_property == m_gnome_wm_win_state) {
137#ifdef DEBUG
138 cerr<<__FILE__<<"("<<__FUNCTION__<<"): _WIN_STATE"<<endl;
139#endif // DEBUG
140 return true;
141 }
142 return false;
143}
144
145
134void Gnome::updateClientList(BScreen &screen) { 146void Gnome::updateClientList(BScreen &screen) {
135 size_t num=0; 147 size_t num=0;
136 148
@@ -255,10 +267,11 @@ void Gnome::updateState(FluxboxWindow &win) {
255 267
256 FluxboxWindow::ClientList::iterator client_it = win.clientList().begin(); 268 FluxboxWindow::ClientList::iterator client_it = win.clientList().begin();
257 FluxboxWindow::ClientList::iterator client_it_end = win.clientList().end(); 269 FluxboxWindow::ClientList::iterator client_it_end = win.clientList().end();
258 for (; client_it != client_it_end; ++client_it) 270 for (; client_it != client_it_end; ++client_it) {
259 (*client_it)->changeProperty(m_gnome_wm_win_state, 271 (*client_it)->changeProperty(m_gnome_wm_win_state,
260 XA_CARDINAL, 32, 272 XA_CARDINAL, 32,
261 PropModeReplace, (unsigned char *)&state, 1); 273 PropModeReplace, (unsigned char *)&state, 1);
274 }
262} 275}
263 276
264void Gnome::updateLayer(FluxboxWindow &win) { 277void Gnome::updateLayer(FluxboxWindow &win) {