wayland-surface: Add some extra protection
Make sure we're not configuring some sort of weird surface.
This commit is contained in:
parent
4fe66ce0a9
commit
b60e02956d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user