-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selection_monitor.cc has been a fallback for features built on top of surrounding text APIs to continue working even when IbusEngineWrapper::GetSurroundingText() doesn't return correct anchor_pos. The way how selection_monitor.cc worked around was to keep monitoring clipboards via by X11 APIs. However I believe it's time to remove this workaround. My rationales are: * Having a runtime dependency on xcb from ibus_mozc is getting more and more questionable, especially when the industry is heading to Wayland. There was actually an issue in Ubuntu 21.10 [1] because of this dependency. * If an IME API doesn't work well, ideally such an issue should be addressed in the right component, rather than trying to work around it in each IME. [1]: https://bugs.launchpad.net/ubuntu/+source/mozc/+bug/1946969 #codehealth PiperOrigin-RevId: 551164079
- Loading branch information
1 parent
c777896
commit 88fb0c6
Showing
8 changed files
with
5 additions
and
764 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
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
Oops, something went wrong.