mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
instead of checking for flags in the client context, then removing them.
e.g.: if (flags & flags_we_care_about) flags &= ~(flags_we_care_about); just whack the flags unconditionally, it's simpler. okan@ agrees.
This commit is contained in:
parent
82911249e2
commit
e7f0d63413
1
client.c
1
client.c
@ -302,7 +302,6 @@ calc:
|
|||||||
void
|
void
|
||||||
client_resize(struct client_ctx *cc)
|
client_resize(struct client_ctx *cc)
|
||||||
{
|
{
|
||||||
if (cc->flags & (CLIENT_MAXIMIZED | CLIENT_VMAXIMIZED))
|
|
||||||
cc->flags &= ~(CLIENT_MAXIMIZED | CLIENT_VMAXIMIZED);
|
cc->flags &= ~(CLIENT_MAXIMIZED | CLIENT_VMAXIMIZED);
|
||||||
|
|
||||||
if (cc->flags & CLIENT_DOMAXIMIZE) {
|
if (cc->flags & CLIENT_DOMAXIMIZE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user