mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
js/main: Unset input method on shutdown
After shutdown, the Javascript context will be disposed, so we must make sure we remain the active input method after this point. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6535 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2722>
This commit is contained in:
parent
1da8df81c5
commit
8ab344929d
1 changed files with 2 additions and 0 deletions
|
|
@ -241,6 +241,8 @@ function _initializeUI() {
|
|||
|
||||
inputMethod = new InputMethod.InputMethod();
|
||||
Clutter.get_default_backend().set_input_method(inputMethod);
|
||||
global.connect('shutdown',
|
||||
() => Clutter.get_default_backend().set_input_method(null));
|
||||
|
||||
screenshotUI = new Screenshot.ScreenshotUI();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue