diff options
| author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-02-14 12:12:21 +0100 |
|---|---|---|
| committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-02-14 12:12:21 +0100 |
| commit | 933c927284e9cc51d52d6aee8dcdcd18fa228541 (patch) | |
| tree | 2031e4efeac072ff03383726143e7543569a907a | |
| parent | 668a926bcceaad1deed83317cfb7c33e33a5ceda (diff) | |
| download | graynard-933c927284e9cc51d52d6aee8dcdcd18fa228541.tar.gz graynard-933c927284e9cc51d52d6aee8dcdcd18fa228541.zip | |
shell-helper: add new interface for moving surfaces around onscreen
| -rw-r--r-- | protocol/Makefile.am | 2 | ||||
| -rw-r--r-- | protocol/shell-helper.xml | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/protocol/Makefile.am b/protocol/Makefile.am index ff9219a..4931c6f 100644 --- a/protocol/Makefile.am +++ b/protocol/Makefile.am @@ -1 +1 @@ -EXTRA_DIST = desktop-shell.xml +EXTRA_DIST = desktop-shell.xml shell-helper.xml diff --git a/protocol/shell-helper.xml b/protocol/shell-helper.xml new file mode 100644 index 0000000..fe59d19 --- /dev/null +++ b/protocol/shell-helper.xml @@ -0,0 +1,21 @@ +<protocol name="shell_helper"> + <interface name="shell_helper" version="1"> + + <request name="move_surface"> + <arg name="surface" type="object" interface="wl_surface"/> + <arg name="x" type="int"/> + <arg name="y" type="int"/> + </request> + + <request name="slide_surface"> + <arg name="surface" type="object" interface="wl_surface"/> + <arg name="x" type="int"/> + <arg name="y" type="int"/> + </request> + + <request name="slide_surface_back"> + <arg name="surface" type="object" interface="wl_surface"/> + </request> + + </interface> +</protocol> |
