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:
Bilal Elmoussaoui
2024-12-30 14:10:49 +01:00
committed by Marge Bot
parent fea29eb490
commit b3f5f9601b
9 changed files with 40 additions and 15 deletions

View File

@ -950,7 +950,7 @@ export class PadOsdService extends Signals.EventEmitter {
ShowAsync(params, invocation) {
let [deviceNode, editionMode] = params;
let seat = Clutter.get_default_backend().get_default_seat();
const seat = global.stage.context.get_backend().get_default_seat();
let devices = seat.list_devices();
let padDevice = null;