diff options
author | okan <okan> | 2014-09-15 13:00:49 +0000 |
---|---|---|
committer | okan <okan> | 2014-09-15 13:00:49 +0000 |
commit | 4b6dc963983906e9a2866565da003840037dff23 (patch) | |
tree | d754dc30697e8292bbed8eedf6c5c6fa1aed1901 /xutil.c | |
parent | 26b95de0194865a3638689d48e61221f90b9b73b (diff) | |
download | cwm-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.c | 2 |
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: |