[mutter] xdg-shell: Update to latest
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] xdg-shell: Update to latest
- Date: Thu, 17 Jul 2014 19:50:49 +0000 (UTC)
commit 567ca15610aa64f8bc48a44674699a1ba8d76c82
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jul 17 14:51:12 2014 -0400
xdg-shell: Update to latest
src/wayland/meta-wayland-surface.c | 4 ++--
src/wayland/protocol/xdg-shell.xml | 12 ++++++++----
2 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index fa7c18e..4adfeb1 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -781,8 +781,8 @@ xdg_surface_show_window_menu (struct wl_client *client,
struct wl_resource *resource,
struct wl_resource *seat_resource,
uint32_t serial,
- uint32_t x,
- uint32_t y)
+ int32_t x,
+ int32_t y)
{
MetaWaylandSeat *seat = wl_resource_get_user_data (seat_resource);
MetaWaylandSurface *surface = wl_resource_get_user_data (resource);
diff --git a/src/wayland/protocol/xdg-shell.xml b/src/wayland/protocol/xdg-shell.xml
index 6d6b52f..0327f40 100644
--- a/src/wayland/protocol/xdg-shell.xml
+++ b/src/wayland/protocol/xdg-shell.xml
@@ -204,14 +204,18 @@
a context menu when right-clicking on the decorations, giving the
user a menu that they can use to maximize or minimize the window.
- The seat passed must have either pointer or keyboard focus to pop
- up the window menu for a surface.
+ This request asks the compositor to pop up such a window menu at
+ the given position, relative to the parent surface. There are
+ no guarantees as to what the window menu contains.
+
+ Your surface must have focus on the seat passed in to pop up the
+ window menu.
</description>
<arg name="seat" type="object" interface="wl_seat" summary="the seat to pop the window up on"/>
<arg name="serial" type="uint" summary="serial of the event to pop up the window for"/>
- <arg name="x" type="uint"/>
- <arg name="y" type="uint"/>
+ <arg name="x" type="int" summary="the x position to pop up the window menu at"/>
+ <arg name="y" type="int" summary="the y position to pop up the window menu at"/>
</request>
<request name="move">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]