From e367a2713ba211d2da0205b4a1e87e8ebf245c4b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 24 Nov 2023 13:16:12 +1000 Subject: [PATCH] padOsd: Fix rings and strips event handling JS ERROR: TypeError: event.get_pad_event_details is not a function vfunc_captured_event@resource:///org/gnome/shell/ui/padOsd.js:824:53 @resource:///org/gnome/shell/ui/init.js:21:20 These were renamed in mutter@97213041e8e7 Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7210 Part-of: --- js/ui/padOsd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index 0309f0d42..648f577b7 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -812,13 +812,13 @@ export const PadOsd = GObject.registerClass({ } else if (event.get_source_device() === this.padDevice && event.type() === Clutter.EventType.PAD_STRIP) { if (this._editionMode) { - let [retval_, number, mode] = event.get_pad_event_details(); + let [retval_, number, mode] = event.get_pad_details(); this._startStripActionEdition(number, Meta.PadDirection.UP, mode); } } else if (event.get_source_device() === this.padDevice && event.type() === Clutter.EventType.PAD_RING) { if (this._editionMode) { - let [retval_, number, mode] = event.get_pad_event_details(); + let [retval_, number, mode] = event.get_pad_details(); this._startRingActionEdition(number, Meta.PadDirection.CCW, mode); } }