mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 10:11:43 -05:00
Handle _NET_WM_DESKTOP client message
This commit is contained in:
parent
e8b5ca6de8
commit
0561e9075a
1 changed files with 4 additions and 0 deletions
4
events.c
4
events.c
|
@ -218,6 +218,10 @@ void client_message(xcb_generic_event_t *evt)
|
|||
arrange(loc.monitor, loc.desktop);
|
||||
}
|
||||
focus_node(loc.monitor, loc.desktop, loc.node);
|
||||
} else if (e->type == ewmh->_NET_WM_DESKTOP) {
|
||||
desktop_location_t dloc;
|
||||
if (ewmh_locate_desktop(e->data.data32[0], &dloc))
|
||||
transfer_node(loc.monitor, loc.desktop, dloc.monitor, dloc.desktop, loc.node);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue