js: Update Meta.KeyHandlerFunc arguments

The Meta keybinding API now exposes the Clutter event to GJS, which was
previously hidden due to it being a gpointer. Since this moves the
binding argument one argument to the right on the GJS side, any code
that was using the binding argument needs to be updated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3502>
This commit is contained in:
Guacamolie
2024-10-13 15:52:44 +02:00
committed by Marge Bot
parent 8694f891ad
commit 91a9409b1d
3 changed files with 7 additions and 7 deletions

View File

@ -426,7 +426,7 @@ export class InputSourceManager extends Signals.EventEmitter {
return true;
}
_switchInputSource(display, window, binding) {
_switchInputSource(display, window, event, binding) {
if (this._mruSources.length < 2)
return;