mirror of
https://github.com/vale981/yabar
synced 2025-03-05 17:41:40 -05:00
handle EWMH current desktop changes
This commit is contained in:
parent
96714d0025
commit
8d0fef394b
1 changed files with 3 additions and 0 deletions
|
@ -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)) {
|
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.
|
//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 {
|
else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue