gnome-shell/js/misc
Ray Strode 234b1441e4 keyboardManager: take group index into account when preserving keymap
commit 642107a2 attempts to avoid resetting the current keymap on
spurious input source changes.

It does this by checking if the current layout id is found in
the new list of layouts and resetting the current layout to the
associated match in the list. By not nullifying the current
layout, it won't get subsequently reset.

Unfortunately, if the order of the list changes, resetting the
current keymap is still necessary, since the order corresponds
with the index of the activated group.

This commit changes the code to nullify the current layout if
its group index changes.

https://bugzilla.redhat.com/show_bug.cgi?id=1573923
2018-05-08 13:56:55 -04:00
..
config.js.in networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
extensionUtils.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
fileUtils.js fileUtils: Remove listDirAsync() 2014-01-09 13:23:26 -05:00
gnomeSession.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
history.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
ibusManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
inputMethod.js inputMethod: Pass all key events through the current IM method 2018-03-15 16:09:38 +01:00
jsParse.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
keyboardManager.js keyboardManager: take group index into account when preserving keymap 2018-05-08 13:56:55 -04:00
loginManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
meson.build networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
modemManager.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
objectManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
params.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
permissionStore.js weather: Follow GNOME Weather's location permissions 2017-03-20 19:13:20 +01:00
smartcardManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
systemActions.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
util.js utils: Simplify URL regex to only support one layer of parentheses 2018-04-13 18:15:44 +00:00
weather.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00