mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
simplify
This commit is contained in:
parent
be72620432
commit
3253f5a4a1
13
xevents.c
13
xevents.c
@ -203,13 +203,12 @@ xev_handle_propertynotify(XEvent *ee)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
TAILQ_FOREACH(sc, &Screenq, entry)
|
TAILQ_FOREACH(sc, &Screenq, entry) {
|
||||||
if (sc->rootwin == e->window)
|
if (sc->rootwin == e->window) {
|
||||||
goto test;
|
if (e->atom == ewmh[_NET_DESKTOP_NAMES].atom)
|
||||||
return;
|
group_update_names(sc);
|
||||||
test:
|
}
|
||||||
if (e->atom == ewmh[_NET_DESKTOP_NAMES].atom)
|
}
|
||||||
group_update_names(sc);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user