mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-08 08:21:16 -04:00
Add missing breaks in evdev switch.
This commit is contained in:
parent
a5a2c8e5db
commit
ec8ef722e9
1 changed files with 2 additions and 0 deletions
2
evdev.c
2
evdev.c
|
|
@ -59,6 +59,7 @@ static void wl_input_device_data(int fd, uint32_t mask, void *data)
|
||||||
dy += value;
|
dy += value;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case EV_ABS:
|
case EV_ABS:
|
||||||
absolute_event = 1;
|
absolute_event = 1;
|
||||||
|
|
@ -70,6 +71,7 @@ static void wl_input_device_data(int fd, uint32_t mask, void *data)
|
||||||
device->y = value;
|
device->y = value;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case EV_KEY:
|
case EV_KEY:
|
||||||
if (value == 2)
|
if (value == 2)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue