Use MAX_THRESH - threshold value
2001-07-27 Bradford Hovinen <hovinen@ximian.com> * mouse-properties-capplet.c (apply_settings): Use MAX_THRESH - threshold value
This commit is contained in:
parent
92d3e1119f
commit
daf686feb0
3 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
|
||||
|
||||
* mouse-properties-capplet.c (apply_settings): Use MAX_THRESH -
|
||||
threshold value
|
||||
|
||||
* mouse-properties.glade: Fix mouse speed and acceleration
|
||||
controls to be wider and to use discrete values
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ apply_settings (Bonobo_ConfigDatabase db)
|
|||
den = 1;
|
||||
}
|
||||
|
||||
threshold = bonobo_config_get_ulong (db, "/main/threshold", NULL);
|
||||
threshold = MAX_THRESH - bonobo_config_get_ulong (db, "/main/threshold", NULL);
|
||||
|
||||
XChangePointerControl (GDK_DISPLAY (), True, True,
|
||||
num, den, threshold);
|
||||
|
|
|
@ -76,7 +76,7 @@ apply_settings (Bonobo_ConfigDatabase db)
|
|||
den = 1;
|
||||
}
|
||||
|
||||
threshold = bonobo_config_get_ulong (db, "/main/threshold", NULL);
|
||||
threshold = MAX_THRESH - bonobo_config_get_ulong (db, "/main/threshold", NULL);
|
||||
|
||||
XChangePointerControl (GDK_DISPLAY (), True, True,
|
||||
num, den, threshold);
|
||||
|
|
Loading…
Add table
Reference in a new issue