summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Mueller <[email protected]>2014-10-17 00:45:15 -0700
committerStefano Karapetsas <[email protected]>2014-10-17 10:02:12 +0200
commit22641a843f8e8d680377c52a2a24c784143015fa (patch)
tree2ce34e1f6c6e06cec86227a47a0210555b1a1cb5
parentf6f630d111a120a5b1cb327cf28d77c023a88cd6 (diff)
downloadmate-control-center-22641a843f8e8d680377c52a2a24c784143015fa.tar.bz2
mate-control-center-22641a843f8e8d680377c52a2a24c784143015fa.tar.xz
windows: Initialize mouse focus checkbox
Was showing unchecked, even if the mouse focus setting was set to 'sloppy'.
-rw-r--r--capplets/windows/mate-window-properties.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c
index 468ed595..00a6b029 100644
--- a/capplets/windows/mate-window-properties.c
+++ b/capplets/windows/mate-window-properties.c
@@ -523,6 +523,8 @@ main (int argc, char **argv)
G_CALLBACK (mouse_focus_toggled_callback), NULL);
g_signal_connect (marco_settings, "changed::" MARCO_FOCUS_KEY,
G_CALLBACK (mouse_focus_changed_callback), NULL);
+ /* Initialize the checkbox state appropriately */
+ mouse_focus_changed_callback(marco_settings, MARCO_FOCUS_KEY, NULL);
g_settings_bind (marco_settings,
MARCO_AUTORAISE_KEY,