mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
Remove the shell_get_event_state() wrapper
The bug that this wrapper was working around has been fixed for quite some time: https://bugzilla.gnome.org/show_bug.cgi?id=650329.
This commit is contained in:
parent
760da64a4c
commit
aa5d352a06
9 changed files with 8 additions and 30 deletions
|
|
@ -233,7 +233,7 @@ const CtrlAltTabPopup = new Lang.Class({
|
|||
|
||||
_keyPressEvent : function(actor, event) {
|
||||
let keysym = event.get_key_symbol();
|
||||
let shift = (Shell.get_event_state(event) & Clutter.ModifierType.SHIFT_MASK);
|
||||
let shift = (event.get_state() & Clutter.ModifierType.SHIFT_MASK);
|
||||
if (shift && keysym == Clutter.KEY_Tab)
|
||||
keysym = Clutter.ISO_Left_Tab;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue