aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2015-08-21 16:14:39 +0000
committerokan2015-08-21 16:14:39 +0000
commitf3edb2ab40249e2299784710b24d4037b81e5a88 (patch)
treee81d4e572d60c9ffd19f923a86b256eb45cd6ad3 /client.c
parent8f9cade79c80625750ce285f4715c52c9e646f72 (diff)
downloadcwm-f3edb2ab40249e2299784710b24d4037b81e5a88.tar.gz
_NET_WM_STATE_STICKY implies only sticky at the group/desktop level, not
position and size; based on discussion with a few.
Diffstat (limited to 'client.c')
-rw-r--r--client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client.c b/client.c
index 3506d4a..4e9e566 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.199 2015/08/21 15:52:49 okan Exp $
+ * $OpenBSD: client.c,v 1.200 2015/08/21 16:14:39 okan Exp $
*/
#include <sys/types.h>
@@ -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) {