eis-client: Remove brackets from a couple of if then branches
They were done this way to make capability configurations similarly indented, but lets interpret the coding style strictly instead. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4064>
This commit is contained in:
parent
f63a2ce420
commit
efddf28925
@ -1110,9 +1110,7 @@ meta_eis_client_new (MetaEis *eis,
|
||||
eis_seat = eis_client_new_seat (eis_client, "mutter default seat");
|
||||
|
||||
if (meta_eis_get_device_types (eis) & META_EIS_DEVICE_TYPE_KEYBOARD)
|
||||
{
|
||||
eis_seat_configure_capability (eis_seat, EIS_DEVICE_CAP_KEYBOARD);
|
||||
}
|
||||
eis_seat_configure_capability (eis_seat, EIS_DEVICE_CAP_KEYBOARD);
|
||||
|
||||
if (meta_eis_get_device_types (eis) & META_EIS_DEVICE_TYPE_POINTER)
|
||||
{
|
||||
@ -1123,9 +1121,7 @@ meta_eis_client_new (MetaEis *eis,
|
||||
}
|
||||
|
||||
if (meta_eis_get_device_types (eis) & META_EIS_DEVICE_TYPE_TOUCHSCREEN)
|
||||
{
|
||||
eis_seat_configure_capability (eis_seat, EIS_DEVICE_CAP_TOUCH);
|
||||
}
|
||||
eis_seat_configure_capability (eis_seat, EIS_DEVICE_CAP_TOUCH);
|
||||
|
||||
eis_seat_add (eis_seat);
|
||||
eis_seat_unref (eis_seat);
|
||||
|
Loading…
x
Reference in New Issue
Block a user