Bugfix: move <direction>
sends workspace focus
Make sure the command `move <direction>` properly sends the workspace focus ipc event required for i3bar to be properly updated and redrawn. Make `ipc_send_workspace_focus_event publicly available from ipc.h for more flexible event sending.
This commit is contained in:
committed by
Michael Stapelberg
parent
4893f04e0c
commit
7639337716
@ -82,4 +82,11 @@ void ipc_shutdown(void);
|
||||
|
||||
void dump_node(yajl_gen gen, Con *con, bool inplace_restart);
|
||||
|
||||
/**
|
||||
* For the workspace "focus" event we send, along the usual "change" field,
|
||||
* also the current and previous workspace, in "current" and "old"
|
||||
* respectively.
|
||||
*/
|
||||
void ipc_send_workspace_focus_event(Con *current, Con *old);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user