attempt to maintain currently-selected kbd layout when modifying kbd list
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 22 Sep 2015 18:17:35 +0000 (14:17 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 22 Sep 2015 18:17:35 +0000 (14:17 -0400)
commit4ef9d9e5189a9fbd18fe0ec3516f49109f06d4a8
tree1fba572a4dc427db80c0a1d49d34b2ed7be7cf57
parentf1faab997fcf88d5687feedb5856b2128189a66c
attempt to maintain currently-selected kbd layout when modifying kbd list

the previous behavior would just set up the new layouts, resulting in
the first layout in the list being applied. now it should be the case
that if the current layout has not been deleted, it will continue to
remain in effect; alternatively if the current layout has been modified,
it's now more likely to be picked up and used
src/modules/xkbswitch/e_mod_config.c