diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 12:54:07 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 12:54:07 (GMT) |
commit | 38654bae459716409ad2ee7975671fc2f131c869 (patch) | |
tree | 6f2f3c662f8317f47a422db02d17bff378266817 /src/Ewmh.cc | |
parent | 06837ba8642b8a126de92f60ae05d5f84bba8bfe (diff) | |
download | fluxbox-38654bae459716409ad2ee7975671fc2f131c869.zip fluxbox-38654bae459716409ad2ee7975671fc2f131c869.tar.bz2 |
some cleanup
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 2 |
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) { | |||
1251 | void Ewmh::setState(FluxboxWindow &win, Atom state, bool value, | 1251 | void 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 |