FreeBSD Bugzilla – Attachment 101575 Details for
Bug 141143
x11/gdm: gdm ignores keyboard variant configured via HAL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1016 bytes, created by
mickey242
on 2009-12-03 16:50:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mickey242
Created:
2009-12-03 16:50:02 UTC
Size:
1016 bytes
patch
obsolete
>--- daemon/gdm-session-direct.c.orig 2009-12-02 15:15:33.000000000 +0100 >+++ daemon/gdm-session-direct.c 2009-12-02 15:15:41.000000000 +0100 >@@ -608,6 +608,7 @@ > char **devices; > int n_devices; > char *layout; >+ char *variant; > char *result; > > result = NULL; >@@ -635,8 +636,26 @@ > "input.xkb.layout", > NULL); > } >- result = g_strdup (layout); >+ >+ variant = libhal_device_get_property_string (ctx, >+ devices[0], >+ "input.x11_options.XkbVariant", >+ NULL); >+ >+ if (!variant) { >+ variant = libhal_device_get_property_string (ctx, >+ devices[0], >+ "input.xkb.variant", >+ NULL); >+ } >+ >+ if(layout && variant) >+ result = g_strdup_printf("%s\t%s", layout, variant); >+ else >+ result = g_strdup (layout); >+ > libhal_free_string (layout); >+ libhal_free_string (variant); > } > > libhal_free_string_array (devices);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 141143
: 101575