diff options
author | monsta <[email protected]> | 2016-11-01 21:21:05 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-01 21:21:05 +0300 |
commit | 73567ed39af49eb20cd9837fa163cd5b67a94d05 (patch) | |
tree | c42f371b6f8f8d533f00439e70f3977ea63a3899 /capplets | |
parent | 7ab2ca013c976a12830ae525df1c7cb66222c0ea (diff) | |
download | mate-control-center-73567ed39af49eb20cd9837fa163cd5b67a94d05.tar.bz2 mate-control-center-73567ed39af49eb20cd9837fa163cd5b67a94d05.tar.xz |
mouse: remove dead code
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/mouse/mate-mouse-properties.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c index fb4bb74b..d1237e79 100644 --- a/capplets/mouse/mate-mouse-properties.c +++ b/capplets/mouse/mate-mouse-properties.c @@ -66,31 +66,6 @@ static gint double_click_state = DOUBLE_CLICK_TEST_OFF; static GSettings *mouse_settings = NULL; static GSettings *touchpad_settings = NULL; -static void -get_default_mouse_info (int *default_numerator, int *default_denominator, int *default_threshold) -{ - int numerator, denominator; - int threshold; - int tmp_num, tmp_den, tmp_threshold; - - /* Query X for the default value */ - XGetPointerControl (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), &numerator, &denominator, - &threshold); - XChangePointerControl (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), True, True, -1, -1, -1); - XGetPointerControl (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), &tmp_num, &tmp_den, &tmp_threshold); - XChangePointerControl (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), True, True, numerator, denominator, threshold); - - if (default_numerator) - *default_numerator = tmp_num; - - if (default_denominator) - *default_denominator = tmp_den; - - if (default_threshold) - *default_threshold = tmp_threshold; - -} - /* Double Click handling */ struct test_data_t |