diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2014-09-17 18:09:31 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2014-09-17 18:09:31 +0000 |
commit | 53dc17d12abdc5fc76dfd7372e9e3ce3125d8f55 (patch) | |
tree | 48fa4bbfb865981fe3a098d606663198983b78e8 /app/cwm/kbfunc.c | |
parent | c1800dbc73d4e72753ceb2342daaa5c7c07f1fbf (diff) |
ewmh states _NET_WM_STATE_STICKY should not alter position
Diffstat (limited to 'app/cwm/kbfunc.c')
-rw-r--r-- | app/cwm/kbfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/kbfunc.c b/app/cwm/kbfunc.c index 1dedc0aa2..07de20797 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.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; |