summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2015-08-21 16:14:39 +0000
committerokan <okan>2015-08-21 16:14:39 +0000
commit05478f061e0b934a0d7d729f0e8ea5755b167487 (patch)
tree5ee16db42e8d99a719892d80f19b7d77394b8b55 /mousefunc.c
parentc96fd247dd951cbbb5ea27a6be3f57f243e2d32a (diff)
downloadcwm-05478f061e0b934a0d7d729f0e8ea5755b167487.tar.gz
cwm-05478f061e0b934a0d7d729f0e8ea5755b167487.tar.xz
cwm-05478f061e0b934a0d7d729f0e8ea5755b167487.zip
_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.c4
1 files changed, 2 insertions, 2 deletions
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)