From 72cc6275462a81b04364890996a73c49f447f0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 28 Aug 2023 17:18:31 +0200 Subject: [PATCH] eis/client: Fix minor coding style issues Part-of: --- src/backends/meta-eis-client.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/backends/meta-eis-client.c b/src/backends/meta-eis-client.c index d29253134..90b24201c 100644 --- a/src/backends/meta-eis-client.c +++ b/src/backends/meta-eis-client.c @@ -536,11 +536,13 @@ meta_eis_client_process_event (MetaEisClient *client, case EIS_EVENT_SEAT_BIND: eis_seat = eis_event_get_seat (event); if (eis_event_seat_has_capability (event, EIS_DEVICE_CAP_POINTER)) - add_device (client, - eis_seat, - CLUTTER_POINTER_DEVICE, - "virtual pointer", - configure_rel); + { + add_device (client, + eis_seat, + CLUTTER_POINTER_DEVICE, + "virtual pointer", + configure_rel); + } if (eis_event_seat_has_capability (event, EIS_DEVICE_CAP_KEYBOARD)) { add_device (client, @@ -555,11 +557,13 @@ meta_eis_client_process_event (MetaEisClient *client, client); } if (eis_event_seat_has_capability (event, EIS_DEVICE_CAP_POINTER_ABSOLUTE)) + { add_device (client, eis_seat, CLUTTER_POINTER_DEVICE, "virtual absolute pointer", configure_abs); + } break; /* We only have one seat, so if the client unbinds from that