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
|
@ -1,5 +1,8 @@
|
||||||
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
|
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
|
* keyboard-properties.c (apply_settings): Initialize the other
|
||||||
|
fields of this data structure
|
||||||
|
|
||||||
* Makefile.am (bonobo_sources): Remove bonobo-property-editor-range.[ch]
|
* Makefile.am (bonobo_sources): Remove bonobo-property-editor-range.[ch]
|
||||||
|
|
||||||
2001-07-25 Chema Celorio <chema@celorio.com>
|
2001-07-25 Chema Celorio <chema@celorio.com>
|
||||||
|
|
|
@ -67,8 +67,10 @@ apply_settings (Bonobo_ConfigDatabase db)
|
||||||
&event_base_return,
|
&event_base_return,
|
||||||
&error_base_return) == True)
|
&error_base_return) == True)
|
||||||
{
|
{
|
||||||
|
kbdsettings.type = 0;
|
||||||
kbdsettings.rate = rate;
|
kbdsettings.rate = rate;
|
||||||
kbdsettings.delay = delay;
|
kbdsettings.delay = delay;
|
||||||
|
kbdsettings.servnumlock = False;
|
||||||
XF86MiscSetKbdSettings (GDK_DISPLAY (), &kbdsettings);
|
XF86MiscSetKbdSettings (GDK_DISPLAY (), &kbdsettings);
|
||||||
} else {
|
} else {
|
||||||
XAutoRepeatOff (GDK_DISPLAY ());
|
XAutoRepeatOff (GDK_DISPLAY ());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue