mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Check the atom type on propertynotify before iterating.
This commit is contained in:
parent
e55c0d48fa
commit
9a7528f5b9
@ -210,10 +210,12 @@ xev_handle_propertynotify(XEvent *ee)
|
|||||||
/* do nothing */
|
/* do nothing */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else if ((sc = screen_find(e->window)) != NULL) {
|
} else {
|
||||||
if (e->atom == ewmh[_NET_DESKTOP_NAMES])
|
if (e->atom == ewmh[_NET_DESKTOP_NAMES]) {
|
||||||
|
if ((sc = screen_find(e->window)) != NULL)
|
||||||
xu_ewmh_net_desktop_names(sc);
|
xu_ewmh_net_desktop_names(sc);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user