From b9b13ebbbcf59973f2324b0c3f675b4d1fff570f Mon Sep 17 00:00:00 2001 From: Bradford Hovinen Date: Thu, 26 Jul 2001 20:36:30 +0000 Subject: [PATCH] Initialize the other fields of this data structure 2001-07-26 Bradford Hovinen * keyboard-properties.c (apply_settings): Initialize the other fields of this data structure --- capplets/keyboard/ChangeLog | 3 +++ capplets/keyboard/keyboard-properties.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/capplets/keyboard/ChangeLog b/capplets/keyboard/ChangeLog index a99039bf9..09be91cb8 100644 --- a/capplets/keyboard/ChangeLog +++ b/capplets/keyboard/ChangeLog @@ -1,5 +1,8 @@ 2001-07-26 Bradford Hovinen + * keyboard-properties.c (apply_settings): Initialize the other + fields of this data structure + * Makefile.am (bonobo_sources): Remove bonobo-property-editor-range.[ch] 2001-07-25 Chema Celorio diff --git a/capplets/keyboard/keyboard-properties.c b/capplets/keyboard/keyboard-properties.c index ae510cc2f..099969f7e 100644 --- a/capplets/keyboard/keyboard-properties.c +++ b/capplets/keyboard/keyboard-properties.c @@ -67,8 +67,10 @@ apply_settings (Bonobo_ConfigDatabase db) &event_base_return, &error_base_return) == True) { + kbdsettings.type = 0; kbdsettings.rate = rate; kbdsettings.delay = delay; + kbdsettings.servnumlock = False; XF86MiscSetKbdSettings (GDK_DISPLAY (), &kbdsettings); } else { XAutoRepeatOff (GDK_DISPLAY ());