diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-08-19 15:45:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-08-19 15:45:04 +0000 |
commit | 2140009211c17ce51ebca837b78e6e5d343e646c (patch) | |
tree | c148be29f8106330f76f42e2b550d869b204e8ba /lib | |
parent | a594c8ff7749eeaa4e6fc39afc5bbd403259e768 (diff) | |
download | drakx-kbd-mouse-x11-2140009211c17ce51ebca837b78e6e5d343e646c.tar drakx-kbd-mouse-x11-2140009211c17ce51ebca837b78e6e5d343e646c.tar.gz drakx-kbd-mouse-x11-2140009211c17ce51ebca837b78e6e5d343e646c.tar.bz2 drakx-kbd-mouse-x11-2140009211c17ce51ebca837b78e6e5d343e646c.tar.xz drakx-kbd-mouse-x11-2140009211c17ce51ebca837b78e6e5d343e646c.zip |
- XFdrake:
o [bugfix] fix clicking on "Options" when Composite is disabled
(regression introduced in 0.58)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Xconfig/parse.pm | 1 | ||||
-rw-r--r-- | lib/Xconfig/xfree.pm | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/Xconfig/parse.pm b/lib/Xconfig/parse.pm index 3ab9de2..283065f 100644 --- a/lib/Xconfig/parse.pm +++ b/lib/Xconfig/parse.pm @@ -146,6 +146,7 @@ my %kind_names = ( 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) ], WacomCursor => [ qw(Port) ], #-\ WacomStylus => [ qw(Port) ], #--> Port must be first diff --git a/lib/Xconfig/xfree.pm b/lib/Xconfig/xfree.pm index c50f8d6..46c7ac0 100644 --- a/lib/Xconfig/xfree.pm +++ b/lib/Xconfig/xfree.pm @@ -529,7 +529,7 @@ sub remove_extension { sub get_extension { my ($raw_X, $extension) = @_; my $raw = $raw_X->get_Section('Extensions'); - $raw && $raw->{$extension} && $raw->{$extension}[0]{val}; + $raw && $raw->{$extension} && $raw->{$extension}{val}; } sub set_extension { my ($raw_X, $extension, $val) = @_; |