Skip to content
Commit 1b2568d5 authored by David Edmundson's avatar David Edmundson Committed by Marco Martin
Browse files

waylandintegration: Avoid creating shell surfaces on teardown

The original code intended to call platformSurfaceChanged on both
surface creation and destruction, but use the presence of a native
handle as a way to only track creation.

This failed as the opposite event to window creation is
aboutToBeDestroyed, and the native window handle is still valid.

Instead of checking the presence of a native window, use the type from
the event.
parent f9ab1437
Pipeline #518675 failed with stage
in 1 minute and 38 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