keyboard: Fix check for extended keys
The existing check tested for non-existent properties. https://bugzilla.gnome.org/show_bug.cgi?id=683546
This commit is contained in:
parent
6c1bd95643
commit
f8ce788425
@ -289,7 +289,7 @@ const Keyboard = new Lang.Class({
|
|||||||
|
|
||||||
// Showing an extended key popup and clicking a key from the extended keys
|
// Showing an extended key popup and clicking a key from the extended keys
|
||||||
// will grab focus, but ignore that
|
// will grab focus, but ignore that
|
||||||
if (focus && (focus._extended_keys || (focus._key && focus._key.extended_key)))
|
if (focus && (focus._extended_keys || focus.extended_key))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Ignore focus changes caused by message tray showing/hiding
|
// Ignore focus changes caused by message tray showing/hiding
|
||||||
|
Loading…
x
Reference in New Issue
Block a user