diff --git a/client.c b/client.c index f75a804..e787012 100644 --- a/client.c +++ b/client.c @@ -299,7 +299,7 @@ client_toggle_maximize(struct client_ctx *cc) struct screen_ctx *sc = cc->sc; struct geom area; - if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) + if (cc->flags & CLIENT_FREEZE) return; if ((cc->flags & CLIENT_MAXFLAGS) == CLIENT_MAXIMIZED) { @@ -344,7 +344,7 @@ client_toggle_vmaximize(struct client_ctx *cc) struct screen_ctx *sc = cc->sc; struct geom area; - if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) + if (cc->flags & CLIENT_FREEZE) return; if (cc->flags & CLIENT_VMAXIMIZED) { @@ -376,7 +376,7 @@ client_toggle_hmaximize(struct client_ctx *cc) struct screen_ctx *sc = cc->sc; struct geom area; - if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) + if (cc->flags & CLIENT_FREEZE) return; if (cc->flags & CLIENT_HMAXIMIZED) { diff --git a/kbfunc.c b/kbfunc.c index 31273e8..8ff230d 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -61,7 +61,7 @@ kbfunc_client_moveresize(struct client_ctx *cc, union arg *arg) int x, y, flags, amt; unsigned int mx, my; - if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) + if (cc->flags & CLIENT_FREEZE) return; mx = my = 0; diff --git a/mousefunc.c b/mousefunc.c index f699243..ffa0ab0 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -72,7 +72,7 @@ mousefunc_client_resize(struct client_ctx *cc, union arg *arg) struct screen_ctx *sc = cc->sc; int x = cc->geom.x, y = cc->geom.y; - if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) + if (cc->flags & CLIENT_FREEZE) return; client_raise(cc); @@ -128,7 +128,7 @@ mousefunc_client_move(struct client_ctx *cc, union arg *arg) client_raise(cc); - if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) + if (cc->flags & CLIENT_FREEZE) return; if (xu_ptr_grab(cc->win, MOUSEMASK, Conf.cursor[CF_MOVE]) < 0)