ipc-server: add get_cursor IPC command that returns cursor position and information about the node under it

This commit is contained in:
OXDBXKXO 2025-06-25 23:44:33 +02:00
parent c2f08075ec
commit 495ba1e96e
3 changed files with 167 additions and 0 deletions

View file

@ -22,6 +22,7 @@ enum ipc_command_type {
// sway-specific command types
IPC_GET_INPUTS = 100,
IPC_GET_SEATS = 101,
IPC_GET_CURSOR = 102,
// Events sent from sway to clients. Events have the highest bits set.
IPC_EVENT_WORKSPACE = ((1<<31) | 0),