summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/parse.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-25 15:11:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-25 15:11:27 +0000
commitda0efd11f88ac0611644ede0120d2572f9040246 (patch)
tree7553ce59e604d792b7c477a774e69456e9a9d5d9 /lib/Xconfig/parse.pm
parent97ed258da08e51ab9d12f923952f875db5456680 (diff)
downloaddrakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.tar
drakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.tar.gz
drakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.tar.bz2
drakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.tar.xz
drakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.zip
- XFdrake:
o set "PreferredMode" in Monitor section if the user changes the resolution (we still do not use PreferredMode for the default resolution)
Diffstat (limited to 'lib/Xconfig/parse.pm')
-rw-r--r--lib/Xconfig/parse.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Xconfig/parse.pm b/lib/Xconfig/parse.pm
index 283065f..1454b56 100644
--- a/lib/Xconfig/parse.pm
+++ b/lib/Xconfig/parse.pm
@@ -142,7 +142,7 @@ 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) ],
- Monitor => [ qw(Identifier VendorName ModelName HorizSync VertRefresh) ],
+ 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) ],
@@ -153,7 +153,7 @@ my %kind_names = (
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 ModulePath BusID);
+my @want_string = qw(Identifier DeviceName VendorName ModelName BoardName Driver Device Chipset Monitor Protocol XkbModel XkbLayout XkbOptions XkbCompat Load ModulePath BusID PreferredMode);
%kind_names = map_each { lc $::a => [ map { lc } @$::b ] } %kind_names;
@want_string = map { lc } @want_string;