mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
Introduce 'shell' object for moving and resizing surfaces in the compositor
This commit is contained in:
parent
a1f3f60bea
commit
83fc061c9c
8 changed files with 299 additions and 119 deletions
|
|
@ -49,15 +49,23 @@
|
|||
|
||||
<interface name="shell" version="1">
|
||||
<request name="move">
|
||||
<arg name="surface" type="surface"/>
|
||||
<arg name="input_device" type="input_device"/>
|
||||
<arg name="time" type="uint"/>
|
||||
</request>
|
||||
|
||||
<request name="resize">
|
||||
<arg name="surface" type="surface"/>
|
||||
<arg name="input_device" type="input_device"/>
|
||||
<arg name="time" type="uint"/>
|
||||
<!-- edges is an enum, need to get the values in here -->
|
||||
<arg name="edges" type="uint"/>
|
||||
</request>
|
||||
|
||||
<event name="configure">
|
||||
<arg name="time" type="uint"/>
|
||||
<!-- Same as edges except also move (16) -->
|
||||
<arg name="type" type="uint"/>
|
||||
<arg name="surface" type="surface"/>
|
||||
<arg name="x" type="int"/>
|
||||
<arg name="y" type="int"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue