feat: ipc to get cursor position

This commit is contained in:
maskudo 2026-01-19 22:57:39 +05:45
parent fc13b0ff15
commit 83056027f2
3 changed files with 60 additions and 3 deletions

View file

@ -248,6 +248,20 @@ I would probably just submit raphi's patchset but I don't think that would be po
<arg name="scalefactor" type="uint" summary="scale factor of monitor."/>
</event>
<event name="cursor_x" since="2">
<description summary="cursor x position">
Indicates the x coordinate of the cursor.
</description>
<arg name="x" type="int" summary="x coordinate of the cursor"/>
</event>
<event name="cursor_y" since="2">
<description summary="cursor y position">
Indicates the y coordinate of the cursor.
</description>
<arg name="y" type="int" summary="y coordinate of the cursor"/>
</event>
</interface>
</protocol>