Initialize the other fields of this data structure
2001-07-26 Bradford Hovinen <hovinen@ximian.com> * keyboard-properties.c (apply_settings): Initialize the other fields of this data structure
This commit is contained in:
parent
ed568135a0
commit
b9b13ebbbc
2 changed files with 5 additions and 0 deletions
|
@ -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 ());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue