same thing as screen_find()

This commit is contained in:
okan 2019-03-06 13:32:19 +00:00
parent 0bda8f7606
commit 9efa6c8c85

View File

@ -206,14 +206,10 @@ xev_handle_propertynotify(XEvent *ee)
/* do nothing */ /* do nothing */
break; break;
} }
} else { } else if ((sc = screen_find(e->window)) != NULL) {
TAILQ_FOREACH(sc, &Screenq, entry) {
if (sc->rootwin == e->window) {
if (e->atom == ewmh[_NET_DESKTOP_NAMES]) if (e->atom == ewmh[_NET_DESKTOP_NAMES])
xu_ewmh_net_desktop_names(sc); xu_ewmh_net_desktop_names(sc);
} }
}
}
} }
static void static void