mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-21 05:34:05 -04:00
feat: ipc to get cursor position
This commit is contained in:
parent
fc13b0ff15
commit
83056027f2
3 changed files with 60 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue