diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2015-08-21 16:14:40 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2015-08-21 16:14:40 +0000 |
commit | 1cf77990ed603b17d3774fb38398af0f97c7a1f5 (patch) | |
tree | e34639dfa2648f98724b010fbff4788ccf0f234f /app | |
parent | 4c38b51b46d9d94e9f4c8801cf265047f46dc3b6 (diff) |
_NET_WM_STATE_STICKY implies only sticky at the group/desktop level, not
position and size; based on discussion with a few.
Diffstat (limited to 'app')
-rw-r--r-- | app/cwm/client.c | 8 | ||||
-rw-r--r-- | app/cwm/kbfunc.c | 4 | ||||
-rw-r--r-- | app/cwm/mousefunc.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c index 3506d4a23..4e9e56656 100644 --- a/app/cwm/client.c +++ b/app/cwm/client.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: client.c,v 1.199 2015/08/21 15:52:49 okan Exp $ + * $OpenBSD: client.c,v 1.200 2015/08/21 16:14:39 okan Exp $ */ #include <sys/types.h> @@ -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/app/cwm/kbfunc.c b/app/cwm/kbfunc.c index a259d0002..e243ab4a1 100644 --- a/app/cwm/kbfunc.c +++ b/app/cwm/kbfunc.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: kbfunc.c,v 1.114 2015/08/21 16:05:55 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.115 2015/08/21 16:14:39 okan Exp $ */ #include <sys/types.h> @@ -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/app/cwm/mousefunc.c b/app/cwm/mousefunc.c index 2a239858a..d429a5de3 100644 --- a/app/cwm/mousefunc.c +++ b/app/cwm/mousefunc.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: mousefunc.c,v 1.97 2015/08/21 16:05:55 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.98 2015/08/21 16:14:39 okan Exp $ */ #include <sys/types.h> @@ -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) |