[gnome-shell] keyboard: Fix check for extended keys
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] keyboard: Fix check for extended keys
- Date: Tue, 25 Sep 2012 06:26:19 +0000 (UTC)
commit f8ce788425d4bde533c34907b9e2162d085f9dd8
Author: Florian MÃllner <fmuellner gnome org>
Date: Mon Sep 24 18:04:12 2012 +0200
keyboard: Fix check for extended keys
The existing check tested for non-existent properties.
https://bugzilla.gnome.org/show_bug.cgi?id=683546
js/ui/keyboard.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 5d62a7e..f01fdff 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -289,7 +289,7 @@ const Keyboard = new Lang.Class({
// Showing an extended key popup and clicking a key from the extended keys
// 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;
// Ignore focus changes caused by message tray showing/hiding
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]