diff options
author | okan | 2014-09-17 18:09:30 +0000 |
---|---|---|
committer | okan | 2014-09-17 18:09:30 +0000 |
commit | b8f5bceb1e3eb570c672162836c310335254a3dc (patch) | |
tree | 0c52736cc8d68b1c232900e13426ba19e5362256 /kbfunc.c | |
parent | 1c79eb7168bb6b7736c78f333544624a1d838e57 (diff) | |
download | cwm-b8f5bceb1e3eb570c672162836c310335254a3dc.tar.gz |
ewmh states _NET_WM_STATE_STICKY should not alter position
Diffstat (limited to '')
-rw-r--r-- | kbfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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.101 2014/09/11 16:06:26 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.102 2014/09/17 18:09:30 okan Exp $ */ #include <sys/param.h> @@ -60,7 +60,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) + if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) return; mx = my = 0; |