eis/client: Fix minor coding style issues
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3228>
This commit is contained in:
parent
e2a9e6c36b
commit
72cc627546
@ -536,11 +536,13 @@ meta_eis_client_process_event (MetaEisClient *client,
|
|||||||
case EIS_EVENT_SEAT_BIND:
|
case EIS_EVENT_SEAT_BIND:
|
||||||
eis_seat = eis_event_get_seat (event);
|
eis_seat = eis_event_get_seat (event);
|
||||||
if (eis_event_seat_has_capability (event, EIS_DEVICE_CAP_POINTER))
|
if (eis_event_seat_has_capability (event, EIS_DEVICE_CAP_POINTER))
|
||||||
add_device (client,
|
{
|
||||||
eis_seat,
|
add_device (client,
|
||||||
CLUTTER_POINTER_DEVICE,
|
eis_seat,
|
||||||
"virtual pointer",
|
CLUTTER_POINTER_DEVICE,
|
||||||
configure_rel);
|
"virtual pointer",
|
||||||
|
configure_rel);
|
||||||
|
}
|
||||||
if (eis_event_seat_has_capability (event, EIS_DEVICE_CAP_KEYBOARD))
|
if (eis_event_seat_has_capability (event, EIS_DEVICE_CAP_KEYBOARD))
|
||||||
{
|
{
|
||||||
add_device (client,
|
add_device (client,
|
||||||
@ -555,11 +557,13 @@ meta_eis_client_process_event (MetaEisClient *client,
|
|||||||
client);
|
client);
|
||||||
}
|
}
|
||||||
if (eis_event_seat_has_capability (event, EIS_DEVICE_CAP_POINTER_ABSOLUTE))
|
if (eis_event_seat_has_capability (event, EIS_DEVICE_CAP_POINTER_ABSOLUTE))
|
||||||
|
{
|
||||||
add_device (client,
|
add_device (client,
|
||||||
eis_seat,
|
eis_seat,
|
||||||
CLUTTER_POINTER_DEVICE,
|
CLUTTER_POINTER_DEVICE,
|
||||||
"virtual absolute pointer",
|
"virtual absolute pointer",
|
||||||
configure_abs);
|
configure_abs);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* We only have one seat, so if the client unbinds from that
|
/* We only have one seat, so if the client unbinds from that
|
||||||
|
Loading…
x
Reference in New Issue
Block a user