diff options
author | okan | 2015-08-24 14:57:19 +0000 |
---|---|---|
committer | okan | 2015-08-24 14:57:19 +0000 |
commit | e76666595f56078b393ce83cc4f32f2cfd5f24b9 (patch) | |
tree | b04523109dbfb8efdf614364d2f8df70cba95eb6 | |
parent | e2aab321d2df8bfc110397924abc171422694b9e (diff) | |
download | cwm-e76666595f56078b393ce83cc4f32f2cfd5f24b9.tar.gz |
Don't allow freeze operations on fullscreen (consistent with what
fullscreen does).
-rw-r--r-- | client.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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.203 2015/08/23 17:31:20 okan Exp $ + * $OpenBSD: client.c,v 1.204 2015/08/24 14:57:19 okan Exp $ */ #include <sys/types.h> @@ -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 |