mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
modules: Implement workspace move event
Implementing the move event required to pass the IPC socket to `i3_ipc_callback_t`, because we won't get notified about any visibility changes of other workspaces. That's why we query all workspaces again after a focused workspace was moved.
This commit is contained in:
parent
8f89545b32
commit
24a3b90a01
4 changed files with 34 additions and 10 deletions
|
@ -11,7 +11,7 @@
|
|||
bool i3_get_socket_address(struct sockaddr_un *addr);
|
||||
bool i3_send_pkg(int sock, int cmd, char *data);
|
||||
|
||||
typedef bool (*i3_ipc_callback_t)(int type, const struct json_object *json, void *data);
|
||||
typedef bool (*i3_ipc_callback_t)(int sock, int type, const struct json_object *json, void *data);
|
||||
|
||||
struct i3_ipc_callbacks {
|
||||
void (*burst_done)(void *data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue