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 --- client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index f5e6350..5a3baba 100644 --- a/client.c +++ b/client.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: client.c,v 1.185 2014/09/17 16:30:21 okan Exp $ + * $OpenBSD: client.c,v 1.186 2014/09/17 18:09:30 okan Exp $ */ #include @@ -299,7 +299,7 @@ client_maximize(struct client_ctx *cc) struct screen_ctx *sc = cc->sc; struct geom xine; - if (cc->flags & CLIENT_FREEZE) + if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) return; if ((cc->flags & CLIENT_MAXFLAGS) == CLIENT_MAXIMIZED) { @@ -344,7 +344,7 @@ client_vmaximize(struct client_ctx *cc) struct screen_ctx *sc = cc->sc; struct geom xine; - if (cc->flags & CLIENT_FREEZE) + if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) return; if (cc->flags & CLIENT_VMAXIMIZED) { @@ -376,7 +376,7 @@ client_hmaximize(struct client_ctx *cc) struct screen_ctx *sc = cc->sc; struct geom xine; - if (cc->flags & CLIENT_FREEZE) + if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY)) return; if (cc->flags & CLIENT_HMAXIMIZED) { -- cgit v1.2.3-2-gb3c3