summaryrefslogtreecommitdiff
path: root/src/wayland/meta-wayland-xdg-shell.c
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2016-07-01 15:59:23 +0800
committerJonas Ådahl <jadahl@gmail.com>2016-08-25 12:19:40 +0800
commitf21df371902f942ff9f77abcaaf1a202207c61d1 (patch)
tree38ef9da2eb9690e4291f2a9758152f04c11c1780 /src/wayland/meta-wayland-xdg-shell.c
parenta5efa30f6c73ddb3c8a8601d908b6068a3bc6d19 (diff)
downloadmutter-f21df371902f942ff9f77abcaaf1a202207c61d1.tar.gz
wayland: Let shell surface role sync generic window state
Instead of having each final role do the same call, lets just make the common role object deal with synchronizing window buffer size. https://bugzilla.gnome.org/show_bug.cgi?id=769936
Diffstat (limited to 'src/wayland/meta-wayland-xdg-shell.c')
-rw-r--r--src/wayland/meta-wayland-xdg-shell.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wayland/meta-wayland-xdg-shell.c b/src/wayland/meta-wayland-xdg-shell.c
index a3e089608..6a7441da0 100644
--- a/src/wayland/meta-wayland-xdg-shell.c
+++ b/src/wayland/meta-wayland-xdg-shell.c
@@ -432,8 +432,6 @@ xdg_surface_role_commit (MetaWaylandSurfaceRole *surface_role,
if (!window)
return;
- meta_wayland_surface_apply_window_state (surface, pending);
-
if (pending->has_new_geometry)
{
/* If we have new geometry, use it. */
@@ -606,7 +604,6 @@ xdg_popup_role_commit (MetaWaylandSurfaceRole *surface_role,
if (!window)
return;
- meta_wayland_surface_apply_window_state (surface, pending);
meta_wayland_surface_calculate_window_geometry (surface, &geom, 0, 0);
meta_window_wayland_move_resize (window,
NULL,