summaryrefslogtreecommitdiff
path: root/plugins/mouse/msd-mouse-manager.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-27 17:36:53 +0300
committermonsta <[email protected]>2016-10-27 17:36:53 +0300
commit4d3d120ad02af495d7d53a86c00683496c1fc4b4 (patch)
treecbb6f29cf1a8c46300f7d705d3ad333de3a6ff68 /plugins/mouse/msd-mouse-manager.c
parentb493f60c8c579ef5a0fed056e8a07e31a9bafca7 (diff)
downloadmate-settings-daemon-4d3d120ad02af495d7d53a86c00683496c1fc4b4.tar.bz2
mate-settings-daemon-4d3d120ad02af495d7d53a86c00683496c1fc4b4.tar.xz
mouse: more indent fixes
Diffstat (limited to 'plugins/mouse/msd-mouse-manager.c')
-rw-r--r--plugins/mouse/msd-mouse-manager.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c
index 8a521d5..c6ec90d 100644
--- a/plugins/mouse/msd-mouse-manager.c
+++ b/plugins/mouse/msd-mouse-manager.c
@@ -265,7 +265,7 @@ set_left_handed (MsdMouseManager * manager, gboolean left_handed)
XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), device);
if (single_button)
- continue;
+ continue;
}
gdk_error_trap_push ();
@@ -314,10 +314,11 @@ devicepresence_filter (GdkXEvent *xevent,
if (xev->type == xi_presence)
{
- XDevicePresenceNotifyEvent *dpn = (XDevicePresenceNotifyEvent *) xev;
- if (dpn->devchange == DeviceEnabled)
- set_mouse_settings ((MsdMouseManager *) data);
+ XDevicePresenceNotifyEvent *dpn = (XDevicePresenceNotifyEvent *) xev;
+ if (dpn->devchange == DeviceEnabled)
+ set_mouse_settings ((MsdMouseManager *) data);
}
+
return GDK_FILTER_CONTINUE;
}
@@ -740,7 +741,7 @@ set_touchpad_enabled (gboolean state)
prop_enabled = XInternAtom (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), "Device Enabled", False);
if (!prop_enabled)
- return;
+ return;
for (i = 0; i < numdevices; i++) {
if ((device = device_is_touchpad (devicelist[i]))) {
@@ -891,8 +892,8 @@ mouse_callback (GSettings *settings,
set_motion_threshold (manager, g_settings_get_int (settings, key));
} else if (g_strcmp0 (key, KEY_TOUCHPAD_DISABLE_W_TYPING) == 0) {
set_disable_w_typing (manager, g_settings_get_boolean (settings, key));
- } else if (g_str_equal (key, KEY_MIDDLE_BUTTON_EMULATION)) {
- set_middle_button (manager, g_settings_get_boolean (settings, key));
+ } else if (g_str_equal (key, KEY_MIDDLE_BUTTON_EMULATION)) {
+ set_middle_button (manager, g_settings_get_boolean (settings, key));
} else if (g_strcmp0 (key, KEY_TOUCHPAD_TAP_TO_CLICK) == 0) {
set_tap_to_click (manager);
} else if (g_str_equal (key, KEY_TOUCHPAD_TWO_FINGER_CLICK) || g_str_equal (key, KEY_TOUCHPAD_THREE_FINGER_CLICK)) {