use similiar style for client flags

This commit is contained in:
okan
2014-09-15 13:00:49 +00:00
parent 26b95de019
commit 4b6dc96398
4 changed files with 7 additions and 7 deletions

View File

@@ -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: