Go through global stage for getting ClutterBackend
Instead of using the default backend. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3528>
This commit is contained in:

committed by
Marge Bot

parent
fea29eb490
commit
b3f5f9601b
@ -236,9 +236,9 @@ async function _initializeUI() {
|
||||
screenShield = new ScreenShield.ScreenShield();
|
||||
|
||||
inputMethod = new InputMethod.InputMethod();
|
||||
Clutter.get_default_backend().set_input_method(inputMethod);
|
||||
global.stage.context.get_backend().set_input_method(inputMethod);
|
||||
global.connect('shutdown',
|
||||
() => Clutter.get_default_backend().set_input_method(null));
|
||||
() => global.stage.context.get_backend().set_input_method(null));
|
||||
|
||||
screenshotUI = new Screenshot.ScreenshotUI();
|
||||
|
||||
|
Reference in New Issue
Block a user