wayland-surface: Add some extra protection

Make sure we're not configuring some sort of weird surface.
This commit is contained in:
Jasper St. Pierre 2014-07-27 17:13:31 +02:00
parent 4fe66ce0a9
commit b60e02956d

View File

@ -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