aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-16 12:54:07 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-16 12:54:07 (GMT)
commit38654bae459716409ad2ee7975671fc2f131c869 (patch)
tree6f2f3c662f8317f47a422db02d17bff378266817 /src/Ewmh.cc
parent06837ba8642b8a126de92f60ae05d5f84bba8bfe (diff)
downloadfluxbox-38654bae459716409ad2ee7975671fc2f131c869.zip
fluxbox-38654bae459716409ad2ee7975671fc2f131c869.tar.bz2
some cleanup
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