-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the xcb tray window logic and avoid SNI transitional flicker…
… between two UI Right now both virtual keyboard and classicui want SNI. When transition between two UI, sni is disabled and then re-enabled which is causing XCB tray window being show/hide immediately. This change try to simplify the xcb tray window logic: 1. hide, if suspend() 2a. If SNI addon is not available. show on resume If SNI addon is available, defer 1sec and check SNI status. SNI enable/disable logic is updated to allow multiple enable/disable by using a reference counter. disable() is deferred with event dispatcher, to avoid enable/disable causing register/unregistration.
- Loading branch information
Showing
5 changed files
with
27 additions
and
21 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