db2635020f
When we call wsi_wl_display_init() with get_format_list set to false there's no need to dispatch the events from the interfaces. This allow us to remove a check in the event handlers to verify if we're querying the formats or not, what makes the code easier to read. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com> Reviewed-by: Simon Ser <contact@emersion.fr> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12117>