Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b4fa081c authored by chaviw's avatar chaviw
Browse files

Use Transaction reparent to null instead of destroy for SC in DragState

When creating a drag surface for drag and drop, the system server is
responsible for destroying the surface when no longer needed. However,
the SurfaceControl was created on the client side, so when the server
calls destroy, it's not allowed since only the process that created the
surface can do it.

Instead use the Transaction reparent to null to destroy the SurfaceControl.

Change-Id: Ie1f0c230046e9928cd4b12ff7a908aad70166d64
Fixes: 122798367
Test: Drag and drop no longer keeps shadow surface on screen
parent 793f1a79
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