Don't allow freeze operations on fullscreen (consistent with what

fullscreen does).
This commit is contained in:
okan 2015-08-24 14:57:19 +00:00
parent 4269ea0463
commit 97db17d056

View File

@ -233,6 +233,9 @@ client_current(void)
void void
client_toggle_freeze(struct client_ctx *cc) client_toggle_freeze(struct client_ctx *cc)
{ {
if (cc->flags & CLIENT_FULLSCREEN)
return;
if (cc->flags & CLIENT_FREEZE) if (cc->flags & CLIENT_FREEZE)
cc->flags &= ~CLIENT_FREEZE; cc->flags &= ~CLIENT_FREEZE;
else else