summaryrefslogtreecommitdiff
path: root/capplets/windows
diff options
context:
space:
mode:
authorMike Mueller <[email protected]>2014-10-17 00:45:15 -0700
committerStefano Karapetsas <[email protected]>2014-10-17 10:08:44 +0200
commit409a1c4bb5b3468a72145ecad9253c22566a0e78 (patch)
tree90b405bfc347a63a499d14a3d1d479574f55a376 /capplets/windows
parentf39852e19f77e7b852f7dc425d0f37479cfd28c8 (diff)
downloadmate-control-center-409a1c4bb5b3468a72145ecad9253c22566a0e78.tar.bz2
mate-control-center-409a1c4bb5b3468a72145ecad9253c22566a0e78.tar.xz
windows: Initialize mouse focus checkbox
Was showing unchecked, even if the mouse focus setting was set to 'sloppy'.
Diffstat (limited to 'capplets/windows')
-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 03a98633..d2f3e4d4 100644
--- a/capplets/windows/mate-window-properties.c
+++ b/capplets/windows/mate-window-properties.c
@@ -477,6 +477,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,