[mutter/wayland] wayland-surface: Fill in the maximized/fullscreen hints to the configure event



commit 02144d17e9282719d31bbbb84678c889a002396a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Nov 19 19:01:03 2013 -0500

    wayland-surface: Fill in the maximized/fullscreen hints to the configure event

 src/wayland/meta-wayland-surface.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 0f318e2..317f4fb 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -927,7 +927,8 @@ meta_wayland_surface_configure_notify (MetaWaylandSurface *surface,
   if (surface->xdg_surface.resource)
     xdg_surface_send_configure (surface->xdg_surface.resource,
                                 edges, new_width, new_height,
-                                0, 0 /* XXX: support this */);
+                                meta_window_get_maximized (surface->window),
+                                meta_window_is_fullscreen (surface->window));
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]