forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1680909 - Fix slowdown in X keyboard layout handling. r=stransky
When ibus input method is changed, Firefox reinitializes the KeymapWrapper object, causing duplicate calls to g_signal_connect. If Firefox is running long enough, duplicate handlers accumulate, and Firefox starts to barrage the X server with XkbGetUpdatedMap/XkbGetControls calls, slowing the X server and itself down. A symptom of this problem is that after switching the input methods, Firefox ignores the input for a while (up to several seconds). Differential Revision: https://phabricator.services.mozilla.com/D98847
- Loading branch information
Showing
2 changed files
with
19 additions
and
9 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