mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
keyboard: fix the keyboard hiding when an extended key is selected
Add a corner case for when the extended key is clicked in order to stop the keyboard from prematurely closing. https://bugzilla.gnome.org/show_bug.cgi?id=661707
This commit is contained in:
parent
6bc34e0f32
commit
3169b2c440
1 changed files with 3 additions and 2 deletions
|
|
@ -269,8 +269,9 @@ Keyboard.prototype = {
|
|||
_onKeyFocusChanged: function () {
|
||||
let focus = global.stage.key_focus;
|
||||
|
||||
// Showing an extended key popup will grab focus, but ignore that
|
||||
if (focus && focus._extended_keys)
|
||||
// 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)))
|
||||
return;
|
||||
|
||||
if (focus instanceof Clutter.Text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue