Skip to content

client: Set queued buffer busy

From the outside it doesn't matter if the buffer was really committed
or queued, it still in use. If it is not marked  busy QWaylandShmBackingStore
will delete when it is resized which can happen when the surface changes
screens or receives a new fractional scale resulting in a use after free
producing a crash or protocol error.

Pick-to: 6.6
Change-Id: I8abc4edbd8990af5114aa0b36c8ecedb37a4f0f6
Reviewed-by: David Edmundson <>
Reviewed-by: Kai Uwe Broulik <>
(cherry picked from commit 39a003942ebab39a1d3b8bc64f41d0c68e92f4bf)

@davidre should we have this in 5.15?

Merge request reports