diff options
author | okan <okan> | 2015-07-01 14:36:42 +0000 |
---|---|---|
committer | okan <okan> | 2015-07-01 14:36:42 +0000 |
commit | cb900def7f4da5216d567a27a04429d3dac85ae8 (patch) | |
tree | d9618c290a87ca3ee7ee33412e8cfb3e57ca9dce /mousefunc.c | |
parent | 8efaf33cfbced84ff073f5c4d3b2c8e9d7b3bff4 (diff) | |
download | cwm-cb900def7f4da5216d567a27a04429d3dac85ae8.tar.gz cwm-cb900def7f4da5216d567a27a04429d3dac85ae8.tar.xz cwm-cb900def7f4da5216d567a27a04429d3dac85ae8.zip |
style
Diffstat (limited to 'mousefunc.c')
-rw-r--r-- | mousefunc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mousefunc.c b/mousefunc.c index d709a3f..958fee2 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -43,8 +43,8 @@ mousefunc_sweep_calc(struct client_ctx *cc, int x, int y, int mx, int my) client_applysizehints(cc); - cc->geom.x = x <= mx ? x : x - cc->geom.w; - cc->geom.y = y <= my ? y : y - cc->geom.h; + cc->geom.x = (x <= mx) ? x : x - cc->geom.w; + cc->geom.y = (y <= my) ? y : y - cc->geom.h; } static void @@ -183,7 +183,7 @@ mousefunc_menu_group(struct client_ctx *cc, union arg *arg) if (group_holds_only_sticky(gc)) continue; menuq_add(&menuq, gc, - group_holds_only_hidden(gc) ? "%d: [%s]" : "%d: %s", + (group_holds_only_hidden(gc)) ? "%d: [%s]" : "%d: %s", gc->num, gc->name); } |