-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: forcing reinit of stuck IPC mutex, fixing cursor stuttering
For some reason cursor updates do not trigged renderer updates if there were no pending root window texture updates. Explicit signaling renderer thread in the case of cursor movement will fix it. Preparing to move renderer from X server process to activity. There are no robust mutexes support in bionic so in the case if X server or activity dies (activity is finished, force-stopped, segfaulted, interrupted, etc) with locked mutex other side will never be able to unlock it. In this case we should explicitly reinitialize/replace mutex with new, fresh and unlocked mutex and try to lock it again.
- Loading branch information
Showing
3 changed files
with
50 additions
and
14 deletions.
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
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
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