ewmh states _NET_WM_STATE_STICKY should not alter position

This commit is contained in:
okan
2014-09-17 18:09:30 +00:00
parent 736d973f46
commit 458dd31b93
3 changed files with 6 additions and 6 deletions

View File

@ -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) {