-
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#249: gtk2 solution for large UI thread delays on osx - which can als…
…o be re-used for other purposes (ie: pause window refresh): * monitor the UI thread latency (enabled for osx only, or via XPRA_FAKE_UI_LOCKUPS env var) * if we find the UI thread is blocked for more than 2 seconds, we tell the server to "suspend" the "UI" events and pixel refresh for all the windows we know about * when it resumes, we tell the server to "resume" operations * new server capability for these new packet types is "suspend-resume" * the 'ServerSource' will stop the sound, prevent bell events, notifications and such from being sent - when we get the resume event it will re-start the sound if it was running before * the 'WindowSource's specified will also cancel all damage requests (and the pending acks which may take a while to come) and wait for the resume message (and we drop all damage packets that were being compressed), on resume we issue a brand new damage request at 100% quality to refresh all the windows * flags added to "xpra info" git-svn-id: https://xpra.org/svn/Xpra/trunk@3786 3bb7dfac-3a0b-4e04-842a-767bc560f471
- Loading branch information
Showing
5 changed files
with
137 additions
and
11 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
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