keyboard: Capture and bubble event in maybeHandleEvent

Right now the clutter_actor_event() call here errors out because the
second argument is missing, make it capture and bubble the event
properly to fix that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2263>
This commit is contained in:
Jonas Dreßler 2022-04-06 12:50:32 +02:00 committed by Marge Bot
parent 8c40b48a09
commit 61713c7366

View File

@ -1276,7 +1276,8 @@ var KeyboardManager = class KeyBoardManager {
if (Main.layoutManager.keyboardBox.contains(actor) || if (Main.layoutManager.keyboardBox.contains(actor) ||
!!actor._extendedKeys || !!actor.extendedKey) { !!actor._extendedKeys || !!actor.extendedKey) {
actor.event(event); actor.event(event, true);
actor.event(event, false);
return true; return true;
} }