Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[display] Add wait state to compositor switchover. JB#46746
While ownership of well known compositor D-Bus name acts logically as mutual exclusion lock that allows only one compositor instance, timing wise name ownership change does not mean that underlying resources used by previous compositor instance would already be available for the current one - which can lead to resource allocation failures and crashes for example when switching from one minui based ui (unlock ui) to another one (upgrade ui). Allow previous compositor instance up to five seconds to exit before giving the current one permission to draw. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
1 changed file
with
159 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters