mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
same thing as screen_find()
This commit is contained in:
parent
0bda8f7606
commit
9efa6c8c85
10
xevents.c
10
xevents.c
@ -206,13 +206,9 @@ xev_handle_propertynotify(XEvent *ee)
|
||||
/* do nothing */
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
TAILQ_FOREACH(sc, &Screenq, entry) {
|
||||
if (sc->rootwin == e->window) {
|
||||
if (e->atom == ewmh[_NET_DESKTOP_NAMES])
|
||||
xu_ewmh_net_desktop_names(sc);
|
||||
}
|
||||
}
|
||||
} else if ((sc = screen_find(e->window)) != NULL) {
|
||||
if (e->atom == ewmh[_NET_DESKTOP_NAMES])
|
||||
xu_ewmh_net_desktop_names(sc);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user