aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 5db7478..8938e7d 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -1251,7 +1251,7 @@ void Ewmh::toggleState(FluxboxWindow &win, Atom state) {
1251void Ewmh::setState(FluxboxWindow &win, Atom state, bool value, 1251void Ewmh::setState(FluxboxWindow &win, Atom state, bool value,
1252 WinClient &client) { 1252 WinClient &client) {
1253 if (state == m_net->wm_state_sticky) { // STICKY 1253 if (state == m_net->wm_state_sticky) { // STICKY
1254 if (value && !win.isStuck() || 1254 if ((value && !win.isStuck()) ||
1255 (!value && win.isStuck())) 1255 (!value && win.isStuck()))
1256 win.stick(); 1256 win.stick();
1257 } else if (state == m_net->wm_state_shaded) { // SHADED 1257 } else if (state == m_net->wm_state_shaded) { // SHADED