mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-01 14:10:14 +01:00
Here we create a new client/compositor interface in weston to allow clients to report their x/y cursor position to the compositor. These values are then used to center the zoom area on this point. This is useful for everyone, especially people who are visually impaired.
11 lines
298 B
XML
11 lines
298 B
XML
<protocol name="text_cursor_position">
|
|
|
|
<interface name="text_cursor_position" version="1">
|
|
<request name="notify">
|
|
<arg name="surface" type="object" interface="wl_surface"/>
|
|
<arg name="x" type="uint"/>
|
|
<arg name="y" type="uint"/>
|
|
</request>
|
|
</interface>
|
|
|
|
</protocol>
|