Skip to content

Commit 2ed098b

Browse files
committed
main.js: Fix enum in _stageEventHandler.
This is needed as a result of an introspection fix in muffin: linuxmint/muffin@7453e8de7689934
1 parent 8f73a54 commit 2ed098b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/ui/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ function _stageEventHandler(actor, event) {
11911191
let modifierState = Cinnamon.get_event_state(event);
11921192

11931193
let action = global.display.get_keybinding_action(keyCode, modifierState);
1194-
if (!(event.get_source() instanceof Clutter.Text && (event.get_flags() & Clutter.EventFlags.FLAG_INPUT_METHOD))) {
1194+
if (!(event.get_source() instanceof Clutter.Text && (event.get_flags() & Clutter.EventFlags.INPUT_METHOD))) {
11951195
// This relies on the fact that Clutter.ModifierType is the same as Gdk.ModifierType
11961196
if (action > 0) {
11971197
keybindingManager.invoke_keybinding_action_by_id(action);

0 commit comments

Comments
 (0)