From b8f5bceb1e3eb570c672162836c310335254a3dc Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 17 Sep 2014 18:09:30 +0000 Subject: ewmh states _NET_WM_STATE_STICKY should not alter position --- kbfunc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index 1dedc0a..07de207 100644 --- a/kbfunc.c +++ b/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 @@ -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; -- cgit v1.2.3-2-gb3c3