summaryrefslogtreecommitdiff
path: root/x11/kdebase4-workspace/files/patch-kcontrol-keyboard-kcmmisc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase4-workspace/files/patch-kcontrol-keyboard-kcmmisc.cpp')
-rw-r--r--x11/kdebase4-workspace/files/patch-kcontrol-keyboard-kcmmisc.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/kdebase4-workspace/files/patch-kcontrol-keyboard-kcmmisc.cpp b/x11/kdebase4-workspace/files/patch-kcontrol-keyboard-kcmmisc.cpp
new file mode 100644
index 000000000000..78ebf36725c6
--- /dev/null
+++ b/x11/kdebase4-workspace/files/patch-kcontrol-keyboard-kcmmisc.cpp
@@ -0,0 +1,15 @@
+--- ../kcontrol/keyboard/kcmmisc.cpp.orig 2008-04-02 08:18:22.000000000 -0400
++++ ../kcontrol/keyboard/kcmmisc.cpp 2008-07-07 14:02:16.000000000 -0400
+@@ -505,8 +505,10 @@
+
+
+ int numlockState = config.readEntry( "NumLock", 2 );
+- if( numlockState != 2 )
+- numlockx_change_numlock_state( numlockState == 0 );
++ if( numlockState == 2 )
++ numlockx_change_numlock_state( TRUE );
++ if( numlockState == 0 )
++ numlockx_change_numlock_state( FALSE );
+ }
+
+