[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kcontrol/access
From: Gunnar Schmidt <gunnar () schmi-dt ! de>
Date: 2004-03-31 10:29:40
Message-ID: 20040331102940.74C1590E1 () office ! kde ! org
[Download RAW message or body]
CVS commit by gunnar:
Fix for bug #78655 (Sticky keys do not work in certain situations)
Without this patch the xkb features sticky keys, slow keys and bounce keys
do only work if you activate a custom bell or visible bell or if you
deactivate the system bell
CCMAIL:78655@bugs.kde.org
M +13 -4 kcmaccess.cpp 1.35
--- kdebase/kcontrol/access/kcmaccess.cpp #1.34:1.35
@@ -33,11 +33,20 @@
static bool needToRunKAccessDaemon( KConfig *config )
{
- KConfigGroup group( config, "Bell" );
+ KConfigGroup bell( config, "Bell" );
- if (!group.readBoolEntry("SystemBell", true))
+ if (!bell.readBoolEntry("SystemBell", true))
return true;
- if (group.readBoolEntry("ArtsBell", false))
+ if (bell.readBoolEntry("ArtsBell", false))
return true;
- if (group.readBoolEntry("VisibleBell", false))
+ if (bell.readBoolEntry("VisibleBell", false))
+ return true;
+
+ KConfigGroup keyboard( config, "Keyboard" );
+
+ if (keyboard.readBoolEntry("StickyKeys", false))
+ return true;
+ if (keyboard.readBoolEntry("SlowKeys", false))
+ return true;
+ if (keyboard.readBoolEntry("BounceKeys", false))
return true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic