handle EWMH current desktop changes

This commit is contained in:
NBonaparte 2017-04-10 19:14:27 -07:00
parent 96714d0025
commit 8d0fef394b

View file

@ -582,6 +582,9 @@ void ya_handle_prop_notify(xcb_property_notify_event_t *ep) {
else if ((ep->atom == ya.ewmh->_NET_WM_NAME) || (ep->atom == ya.ewmh->_NET_WM_VISIBLE_NAME)) {
//Same window, but title changed. Therefore don't return.
}
else if (ep->atom == ya.ewmh->_NET_CURRENT_DESKTOP) {
//Don't return, needed for workspaces
}
else {
return;
}