summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2014-09-15 13:00:49 +0000
committerokan <okan>2014-09-15 13:00:49 +0000
commit4b6dc963983906e9a2866565da003840037dff23 (patch)
treed754dc30697e8292bbed8eedf6c5c6fa1aed1901 /xutil.c
parent26b95de0194865a3638689d48e61221f90b9b73b (diff)
downloadcwm-4b6dc963983906e9a2866565da003840037dff23.tar.gz
cwm-4b6dc963983906e9a2866565da003840037dff23.tar.xz
cwm-4b6dc963983906e9a2866565da003840037dff23.zip
use similiar style for client flags
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c
index 199119f..0e3d9e4 100644
--- a/xutil.c
+++ b/xutil.c
@@ -393,7 +393,7 @@ xu_ewmh_handle_net_wm_state_msg(struct client_ctx *cc, int action,
 			continue;
 		switch (action) {
 		case _NET_WM_STATE_ADD:
-			if ((cc->flags & handlers[i].property) == 0)
+			if (!(cc->flags & handlers[i].property))
 				handlers[i].toggle(cc);
 			break;
 		case _NET_WM_STATE_REMOVE: