mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Don't allow freeze operations on fullscreen (consistent with what
fullscreen does).
This commit is contained in:
parent
4269ea0463
commit
97db17d056
3
client.c
3
client.c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user