When the wl_surface commits are blocked by the initial sync request, it is really important that Xwayland doesn't commit the surface until the sync request is acked. However, with the current arrangement of the code, Xwayland may render something before the sync request is acked. It can happen because the frame window is mapped before the initial sync request is sent. There are many places where it can happen, e.g. in the setupCompositing() function, or the setMinimized() function, etc. In order to ensure that Xwayland won't render the wl_surface while we are waiting for the sync request to get acked, this change moves the initial sync request all the way to the top of the manage() function so the surface commits are blocked before the frame window is mapped.wilder/Plasma/6.3
parent
edf4e2e050
commit
883f95d272
1 changed files with 12 additions and 8 deletions
Loading…
Reference in new issue