summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2015-08-24 14:57:19 +0000
committerokan <okan>2015-08-24 14:57:19 +0000
commit97db17d0568c8dcb41173104af16b000879a36e4 (patch)
tree0174b220124aa67313a66afd79dd78f1f7847b5d
parent4269ea046355991779eaf397fb9d99685532af69 (diff)
downloadcwm-97db17d0568c8dcb41173104af16b000879a36e4.tar.gz
cwm-97db17d0568c8dcb41173104af16b000879a36e4.tar.xz
cwm-97db17d0568c8dcb41173104af16b000879a36e4.zip
Don't allow freeze operations on fullscreen (consistent with what
fullscreen does).
-rw-r--r--client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client.c b/client.c
index 6b3ab11..3298bf7 100644
--- a/client.c
+++ b/client.c
@@ -233,6 +233,9 @@ client_current(void)
 void
 client_toggle_freeze(struct client_ctx *cc)
 {
+	if (cc->flags & CLIENT_FULLSCREEN)
+		return;
+
 	if (cc->flags & CLIENT_FREEZE)
 		cc->flags &= ~CLIENT_FREEZE;
 	else