Skip to content
Commit 217de21a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix handling of the case where specified surface can't imported

An xdg_imported resource must be created no matter whether there is an
exported surface with the specified handle.

This change fixes handling of that case in kwaylandserver by introducing
a dummy imported object.

If there is no exported surface with the given handle, the compositor
should create an xdg_imported resource and immediately send the
destroyed event.

A dummy imported object is needed because generated code sets resource
implementation; otherwise we would set an implementation without any
user data to mark the resource as inert.
parent a6432d92
Pipeline #55230 passed with stage
in 7 minutes and 10 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment