After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 551062 - try harder to use the keyboard layout passed by gdm
try harder to use the keyboard layout passed by gdm
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: plugins
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2008-09-06 00:00 UTC by Matthias Clasen
Modified: 2008-09-06 17:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (896 bytes, patch)
2008-09-06 00:01 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2008-09-06 00:00:35 UTC
gdm only passes a layout, but the layout_variant strings are combinations of layout and variants.
Comment 1 Matthias Clasen 2008-09-06 00:01:07 UTC
Created attachment 118134 [details] [review]
patch
Comment 2 Jens Granseuer 2008-09-06 09:11:43 UTC
Please move the strlen out of the loop and commit.
Comment 3 Matthias Clasen 2008-09-06 17:50:36 UTC
2008-09-06  Matthias Clasen  <mclasen@redhat.com>

        Bug 551062 – try harder to use the keyboard layout passed by gdm

        * plugins/keyboard/gsd-keyboard-xkb.c: Be tolerant of variants
        when trying to match the gdm-provided keyboard layout to the
        existing keyboard configuration.