summaryrefslogtreecommitdiff
path: root/capplets/display/xrandr-capplet.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-10-02 11:44:01 +0300
committermonsta <[email protected]>2015-10-02 11:44:01 +0300
commit9a442b00020ff10a1711ae72a29a9d87beead828 (patch)
tree4491df9d7624dae411c747509c985047df299a9d /capplets/display/xrandr-capplet.c
parentf098952fbfbe8bda41f5e07265f01cb5ccf4afbd (diff)
parentfae8febad4a8eeee7073f2be243252139907c741 (diff)
downloadmate-control-center-9a442b00020ff10a1711ae72a29a9d87beead828.tar.bz2
mate-control-center-9a442b00020ff10a1711ae72a29a9d87beead828.tar.xz
Merge pull request #202 from zaps166/patch-1
Bugfix: Changing refresh rate doens't work
Diffstat (limited to 'capplets/display/xrandr-capplet.c')
-rw-r--r--capplets/display/xrandr-capplet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index bc91fd32..126084ed 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -756,7 +756,7 @@ on_rate_changed (GtkComboBox *box, gpointer data)
return;
if (get_mode (app->refresh_combo, NULL, NULL, &rate, NULL))
- rate = mate_rr_output_info_get_refresh_rate (app->current_output);
+ mate_rr_output_info_set_refresh_rate (app->current_output, rate);
foo_scroll_area_invalidate (FOO_SCROLL_AREA (app->area));
}