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:
parent
8c40b48a09
commit
61713c7366
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user