screenshot-window-sizer: Adjust to mutter change
Mutter no longer hides the `event` parameter in Meta.KeyHandlerFuncs, so update the function to account for the additional parameter. Closes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/559 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/388>
This commit is contained in:
@@ -63,9 +63,10 @@ export default class ScreenshotWindowSizerExtension extends Extension {
|
||||
/**
|
||||
* @param {Meta.Display} display - the display
|
||||
* @param {Meta.Window=} window - for per-window bindings, the window
|
||||
* @param {Clutter.Event} event - the triggering event
|
||||
* @param {Meta.KeyBinding} binding - the key binding
|
||||
*/
|
||||
_cycleScreenshotSizes(display, window, binding) {
|
||||
_cycleScreenshotSizes(display, window, event, binding) {
|
||||
const backwards = binding.is_reversed();
|
||||
|
||||
// Unmaximize first
|
||||
|
||||
Reference in New Issue
Block a user