summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/parse.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2016-07-09 21:35:59 +0200
committerMarja van Waes <marja@mageia.org>2016-07-09 21:35:59 +0200
commit11c28a962a11140692fe06e046a760bc2f0e7cb3 (patch)
treea9f1c1bdd5ae0d3fef427b7eb1936b04d0d83f38 /lib/Xconfig/parse.pm
parentdccd07259d820f87b61a3ae44a97913fa49f9d59 (diff)
downloaddrakx-kbd-mouse-x11-11c28a962a11140692fe06e046a760bc2f0e7cb3.tar
drakx-kbd-mouse-x11-11c28a962a11140692fe06e046a760bc2f0e7cb3.tar.gz
drakx-kbd-mouse-x11-11c28a962a11140692fe06e046a760bc2f0e7cb3.tar.bz2
drakx-kbd-mouse-x11-11c28a962a11140692fe06e046a760bc2f0e7cb3.tar.xz
drakx-kbd-mouse-x11-11c28a962a11140692fe06e046a760bc2f0e7cb3.zip
Use the official X.org syntax to define keyboard layouts (mga#14476)
o Gnome/gdm can no longer handle our unofficial or deprecated syntax
Diffstat (limited to 'lib/Xconfig/parse.pm')
-rw-r--r--lib/Xconfig/parse.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Xconfig/parse.pm b/lib/Xconfig/parse.pm
index ae1f87a..338a3c7 100644
--- a/lib/Xconfig/parse.pm
+++ b/lib/Xconfig/parse.pm
@@ -141,19 +141,19 @@ sub _raw_to_string {
my %kind_names = (
Pointer => [ qw(Protocol Device Emulate3Buttons Emulate3Timeout EmulateWheel EmulateWheelButton) ],
Mouse => [ qw(DeviceName Protocol Device AlwaysCore Emulate3Buttons Emulate3Timeout EmulateWheel EmulateWheelButton) ], # Subsection in XInput
- Keyboard => [ qw(Protocol Driver XkbModel XkbLayout XkbDisable) ],
+ Keyboard => [ qw(Protocol Driver XkbModel XkbLayout XkbVariant XkbDisable) ],
Monitor => [ qw(Identifier VendorName ModelName HorizSync VertRefresh PreferredMode) ],
Device => [ qw(Identifier VendorName BoardName Chipset Driver VideoRam Screen BusID DPMS power_saver AccelMethod MonitorLayout TwinViewOrientation BIOSHotkeys RenderAccel SWCursor XaaNoOffscreenPixmaps) ],
Display => [ qw(Depth Modes Virtual) ], # Subsection in Device
Screen => [ qw(Identifier Driver Device Monitor DefaultDepth DefaultColorDepth) ],
Extensions => [ qw(Composite) ],
- InputDevice => [ qw(Identifier Driver Protocol Device Type Mode XkbModel XkbLayout XkbDisable Emulate3Buttons Emulate3Timeout EmulateWheel EmulateWheelButton) ],
+ InputDevice => [ qw(Identifier Driver Protocol Device Type Mode XkbModel XkbLayout XkbVariant XkbDisable Emulate3Buttons Emulate3Timeout EmulateWheel EmulateWheelButton) ],
WacomCursor => [ qw(Port) ], #-\
WacomStylus => [ qw(Port) ], #--> Port must be first
WacomEraser => [ qw(Port) ], #-/
ServerLayout => [ qw(Identifier) ],
);
-my @want_string = qw(Identifier DeviceName VendorName ModelName BoardName Driver Device Chipset Monitor Protocol XkbModel XkbLayout XkbOptions XkbCompat Load Disable ModulePath BusID PreferredMode);
+my @want_string = qw(Identifier DeviceName VendorName ModelName BoardName Driver Device Chipset Monitor Protocol XkbModel XkbLayout XkbVariant XkbOptions XkbCompat Load Disable ModulePath BusID PreferredMode);
%kind_names = map_each { lc $::a => [ map { lc } @$::b ] } %kind_names;
@want_string = map { lc } @want_string;