[mutter] backends/native: Replace tabs with spaces
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backends/native: Replace tabs with spaces
- Date: Wed, 19 Feb 2020 18:36:01 +0000 (UTC)
commit 7cc02cf24ebf3b2f9ce63e502989687e1db78e47
Author: Jonas Dreßler <verdre v0yd nl>
Date: Wed Feb 19 19:21:32 2020 +0100
backends/native: Replace tabs with spaces
Replace the few remaining places where tabs are used for indentation
with spaces.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1065
src/backends/native/meta-input-device-native.c | 8 ++++----
src/backends/native/meta-input-device-tool-native.h | 4 ++--
src/backends/native/meta-input-settings-native.c | 6 +++---
src/backends/native/meta-launcher.h | 6 +++---
src/backends/native/meta-seat-native.c | 10 +++++-----
src/backends/native/meta-virtual-input-device-native.c | 2 +-
src/backends/native/meta-xkb-utils.c | 10 +++++-----
7 files changed, 23 insertions(+), 23 deletions(-)
---
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]