diff --git a/src/backends/native/meta-input-device-native.c b/src/backends/native/meta-input-device-native.c index c54e98b30..34054c5e9 100644 --- a/src/backends/native/meta-input-device-native.c +++ b/src/backends/native/meta-input-device-native.c @@ -1284,10 +1284,10 @@ meta_input_device_native_class_init (MetaInputDeviceNativeClass *klass) obj_props[PROP_DEVICE_MATRIX] = g_param_spec_boxed ("device-matrix", - "Device input matrix", - "Device input matrix", - CAIRO_GOBJECT_TYPE_MATRIX, - CLUTTER_PARAM_READWRITE); + "Device input matrix", + "Device input matrix", + CAIRO_GOBJECT_TYPE_MATRIX, + CLUTTER_PARAM_READWRITE); obj_props[PROP_OUTPUT_ASPECT_RATIO] = g_param_spec_double ("output-aspect-ratio", "Output aspect ratio", diff --git a/src/backends/native/meta-input-device-tool-native.h b/src/backends/native/meta-input-device-tool-native.h index bb984e1f4..83e79930a 100644 --- a/src/backends/native/meta-input-device-tool-native.h +++ b/src/backends/native/meta-input-device-tool-native.h @@ -78,8 +78,8 @@ uint32_t meta_input_device_tool_native_get_button_code (Clutt void meta_input_device_tool_native_set_pressure_curve (ClutterInputDeviceTool *tool, double curve[4]); void meta_input_device_tool_native_set_button_code (ClutterInputDeviceTool *tool, - uint32_t button, - uint32_t evcode); + uint32_t button, + uint32_t evcode); G_END_DECLS diff --git a/src/backends/native/meta-input-settings-native.c b/src/backends/native/meta-input-settings-native.c index a6a781746..eb06911bf 100644 --- a/src/backends/native/meta-input-settings-native.c +++ b/src/backends/native/meta-input-settings-native.c @@ -470,9 +470,9 @@ meta_input_settings_native_set_tablet_keep_aspect (MetaInputSettings *settings, backend = meta_get_backend (); monitor_manager = meta_backend_get_monitor_manager (backend); - meta_monitor_manager_get_screen_size (monitor_manager, - &width, - &height); + meta_monitor_manager_get_screen_size (monitor_manager, + &width, + &height); } aspect_ratio = (double) width / height; diff --git a/src/backends/native/meta-launcher.h b/src/backends/native/meta-launcher.h index d83cf8139..f74e154d5 100644 --- a/src/backends/native/meta-launcher.h +++ b/src/backends/native/meta-launcher.h @@ -28,11 +28,11 @@ MetaLauncher *meta_launcher_new (GError **error); void meta_launcher_free (MetaLauncher *self); gboolean meta_launcher_activate_session (MetaLauncher *self, - GError **error); + GError **error); gboolean meta_launcher_activate_vt (MetaLauncher *self, - signed char vt, - GError **error); + signed char vt, + GError **error); const char * meta_launcher_get_seat_id (MetaLauncher *launcher); diff --git a/src/backends/native/meta-seat-native.c b/src/backends/native/meta-seat-native.c index 2d7c3a54e..4c77b7af9 100644 --- a/src/backends/native/meta-seat-native.c +++ b/src/backends/native/meta-seat-native.c @@ -1848,11 +1848,11 @@ process_device_event (MetaSeatNative *seat, seat_key_count = libinput_event_keyboard_get_seat_key_count (key_event); - /* Ignore key events that are not seat wide state changes. */ - if ((key_state == LIBINPUT_KEY_STATE_PRESSED && - seat_key_count != 1) || - (key_state == LIBINPUT_KEY_STATE_RELEASED && - seat_key_count != 0)) + /* Ignore key events that are not seat wide state changes. */ + if ((key_state == LIBINPUT_KEY_STATE_PRESSED && + seat_key_count != 1) || + (key_state == LIBINPUT_KEY_STATE_RELEASED && + seat_key_count != 0)) { meta_topic (META_DEBUG_INPUT, "Dropping key-%s of key 0x%x because seat-wide " diff --git a/src/backends/native/meta-virtual-input-device-native.c b/src/backends/native/meta-virtual-input-device-native.c index a4d6ba494..194657f0d 100644 --- a/src/backends/native/meta-virtual-input-device-native.c +++ b/src/backends/native/meta-virtual-input-device-native.c @@ -271,7 +271,7 @@ meta_virtual_input_device_native_notify_key (ClutterVirtualInputDevice *virtual_ if (key_count < 0 || key_count > 1) { g_warning ("Received multiple virtual 0x%x key %s (ignoring)", key, - key_state == CLUTTER_KEY_STATE_PRESSED ? "presses" : "releases"); + key_state == CLUTTER_KEY_STATE_PRESSED ? "presses" : "releases"); update_button_count (virtual_evdev, key, 1 - key_state); return; } diff --git a/src/backends/native/meta-xkb-utils.c b/src/backends/native/meta-xkb-utils.c index 6958c11ca..2fcdcf37f 100644 --- a/src/backends/native/meta-xkb-utils.c +++ b/src/backends/native/meta-xkb-utils.c @@ -103,9 +103,9 @@ meta_xkb_translate_state (ClutterEvent *event, uint32_t button_state) { _clutter_event_set_state_full (event, - button_state, - xkb_state_serialize_mods (state, XKB_STATE_MODS_DEPRESSED), - xkb_state_serialize_mods (state, XKB_STATE_MODS_LATCHED), - xkb_state_serialize_mods (state, XKB_STATE_MODS_LOCKED), - xkb_state_serialize_mods (state, XKB_STATE_MODS_EFFECTIVE) | button_state); + button_state, + xkb_state_serialize_mods (state, XKB_STATE_MODS_DEPRESSED), + xkb_state_serialize_mods (state, XKB_STATE_MODS_LATCHED), + xkb_state_serialize_mods (state, XKB_STATE_MODS_LOCKED), + xkb_state_serialize_mods (state, XKB_STATE_MODS_EFFECTIVE) | button_state); }