Weston has sent the first 'resizing' configure event with width=height=0.
But resizing to that size doesn't make sense.
Instead, we now send the current width and height of the surface at the 
beginning
of resizing.

Signed-off-by: Ryo Munakata <ryomnk...@gmail.com>
---
 desktop-shell/shell.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index 5f54dea..50f4d39 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -489,6 +489,9 @@ send_configure_for_surface(struct shell_surface *shsurf)
 
                width = area.width;
                height = area.height;
+       } else if (shsurf->resize_edges) {
+               width = shsurf->geometry.width;
+               height = shsurf->geometry.height;
        } else {
                width = 0;
                height = 0;
-- 
2.3.7

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to