Registering a shortcut key via Main.wm.addKeybinding creates a warning when inputting with different devices
Gnome-Shell extensions registering a keybinding in the following manner:
Main.wm.addKeybinding(
shortcut,
settings,
Meta.KeyBindingFlags.NONE,
bindingMode,
action
);
will make mutter display :
Window manager warning: Overwriting existing binding of keysym 71 with keysym 71 (keycode 26).
when you send a keyevent from a first input device and then an other one from a different one.
Example for reproduction:
- Switch between pressing a key you bound to your mouse and a key from your keyboard.
- Switch between a key from your keyboard and a media key.
- Switch between pressing a key from a keyboard and then an other key from an other keyboard.
Doing the following will also produce a short freeze that can build up as mentioned in #398
ArchLinux
Gnome 3.32.1