aboutsummaryrefslogtreecommitdiffstats
path: root/xutil.c
diff options
context:
space:
mode:
authorokan2014-09-15 13:00:49 +0000
committerokan2014-09-15 13:00:49 +0000
commita826ef268d5ad05429f4b269d6961839bae35822 (patch)
tree3d5f980cd888467292cd667225a45bdc48a1d802 /xutil.c
parent84082493cb81b61f9b42cf9528cfe7e29c6594ad (diff)
downloadcwm-a826ef268d5ad05429f4b269d6961839bae35822.tar.gz
use similiar style for client flags
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xutil.c b/xutil.c
index 6c426a9..6eb2b17 100644
--- a/xutil.c
+++ b/xutil.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: xutil.c,v 1.92 2014/09/08 20:11:22 okan Exp $
+ * $OpenBSD: xutil.c,v 1.93 2014/09/15 13:00:49 okan Exp $
*/
#include <sys/param.h>
@@ -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: