From b60e02956da0c4517ab2a46ee0ee6370ca0ef4fa Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 27 Jul 2014 17:13:31 +0200 Subject: [PATCH] wayland-surface: Add some extra protection Make sure we're not configuring some sort of weird surface. --- src/wayland/meta-wayland-surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 77bef1b6b..4b9e5b2b6 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -1836,6 +1836,8 @@ meta_wayland_surface_configure_notify (MetaWaylandSurface *surface, else if (surface->wl_shell_surface.resource) wl_shell_surface_send_configure (surface->wl_shell_surface.resource, 0, new_width, new_height); + else + g_assert_not_reached (); } void