diff options
author | okan | 2015-08-21 16:14:39 +0000 |
---|---|---|
committer | okan | 2015-08-21 16:14:39 +0000 |
commit | f3edb2ab40249e2299784710b24d4037b81e5a88 (patch) | |
tree | e81d4e572d60c9ffd19f923a86b256eb45cd6ad3 /mousefunc.c | |
parent | 8f9cade79c80625750ce285f4715c52c9e646f72 (diff) | |
download | cwm-f3edb2ab40249e2299784710b24d4037b81e5a88.tar.gz |
_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 'mousefunc.c')
-rw-r--r-- | mousefunc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mousefunc.c b/mousefunc.c index 2a23985..d429a5d 100644 --- a/mousefunc.c +++ b/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) |