aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-02-23 22:32:31 (GMT)
committermarkt <markt>2007-02-23 22:32:31 (GMT)
commit61ed1fcfb0fe72eb26ffec0963b2501d30b3c4f5 (patch)
tree067cc76bb4f777c99415ecbfb4095fc43cf90eaf /src/Ewmh.cc
parent002e6232c99bda93aaed8f97ef1b33184f2c9fba (diff)
downloadfluxbox_pavel-61ed1fcfb0fe72eb26ffec0963b2501d30b3c4f5.zip
fluxbox_pavel-61ed1fcfb0fe72eb26ffec0963b2501d30b3c4f5.tar.bz2
and check for maximized state in Ewmh::updateState() while we're at it
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index ce5f1a3..8dd1959 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -606,6 +606,10 @@ void Ewmh::updateState(FluxboxWindow &win) {
606 606
607 StateVec state; 607 StateVec state;
608 608
609 if (win.isMaximizedHorz())
610 state.push_back(m_net_wm_state_maximized_horz);
611 if (win.isMaximizedVert())
612 state.push_back(m_net_wm_state_maximized_vert);
609 if (win.isStuck()) 613 if (win.isStuck())
610 state.push_back(m_net_wm_state_sticky); 614 state.push_back(m_net_wm_state_sticky);
611 if (win.isShaded()) 615 if (win.isShaded())