This commit is contained in:
okan 2013-05-19 17:01:29 +00:00
parent be72620432
commit 3253f5a4a1

View File

@ -203,13 +203,12 @@ xev_handle_propertynotify(XEvent *ee)
break;
}
} else {
TAILQ_FOREACH(sc, &Screenq, entry)
if (sc->rootwin == e->window)
goto test;
return;
test:
if (e->atom == ewmh[_NET_DESKTOP_NAMES].atom)
group_update_names(sc);
TAILQ_FOREACH(sc, &Screenq, entry) {
if (sc->rootwin == e->window) {
if (e->atom == ewmh[_NET_DESKTOP_NAMES].atom)
group_update_names(sc);
}
}
}
}