[PATCH weston 07/17] xdg-shell: Document that xdg_surface.set_window_geometry needs a commit

Jonas Ådahl jadahl at gmail.com
Tue Apr 7 02:01:22 PDT 2015

Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
 protocol/xdg-shell.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index d316e06..d013803 100644
--- a/protocol/xdg-shell.xml
+++ b/protocol/xdg-shell.xml
@@ -370,6 +370,9 @@
         portions like drop-shadows which should be ignored for the
         purposes of aligning, placing and constraining windows.
+        The window geometry is double buffered, and will be applied the
+        time wl_surface.commit of the corresponding wl_surface is called.
         Once the window geometry of the surface is set once, it is not
         possible to unset it, and it will remain the same until
         set_window_geometry is called again, even if a new subsurface or

More information about the wayland-devel mailing list