Skip to content
Commit 1c02bdfb authored by Michael Olbrich's avatar Michael Olbrich
Browse files

ivi-shell: abort if shell_surface_send_configure is called for non-ivi surfaces



shell_surface_send_configure() should only be called for ivi surfaces. Other (or
no) *configure() calls are needed for other types of surfaces.

Make sure that get_ivi_shell_surface() returns NULL if the surface is not an ivi
surface. And don't ignore wrong surfaces but assert instead to make it obvious
that new surface types need special handling in ivi_layout_surface_set_size().

Signed-off-by: default avatarMichael Olbrich <m.olbrich@pengutronix.de>
parent b6423e59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment