_NET_WM_STATE_STICKY implies only sticky at the group/desktop level, not
position and size; based on discussion with a few.
This commit is contained in:
6
client.c
6
client.c
@@ -299,7 +299,7 @@ client_toggle_maximize(struct client_ctx *cc)
|
||||
struct screen_ctx *sc = cc->sc;
|
||||
struct geom area;
|
||||
|
||||
if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY))
|
||||
if (cc->flags & CLIENT_FREEZE)
|
||||
return;
|
||||
|
||||
if ((cc->flags & CLIENT_MAXFLAGS) == CLIENT_MAXIMIZED) {
|
||||
@@ -344,7 +344,7 @@ client_toggle_vmaximize(struct client_ctx *cc)
|
||||
struct screen_ctx *sc = cc->sc;
|
||||
struct geom area;
|
||||
|
||||
if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY))
|
||||
if (cc->flags & CLIENT_FREEZE)
|
||||
return;
|
||||
|
||||
if (cc->flags & CLIENT_VMAXIMIZED) {
|
||||
@@ -376,7 +376,7 @@ client_toggle_hmaximize(struct client_ctx *cc)
|
||||
struct screen_ctx *sc = cc->sc;
|
||||
struct geom area;
|
||||
|
||||
if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY))
|
||||
if (cc->flags & CLIENT_FREEZE)
|
||||
return;
|
||||
|
||||
if (cc->flags & CLIENT_HMAXIMIZED) {
|
||||
|
||||
Reference in New Issue
Block a user