Add missing breaks in evdev switch.
This commit is contained in:
parent
a5a2c8e5db
commit
ec8ef722e9
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;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case EV_ABS:
|
||||
absolute_event = 1;
|
||||
@ -70,6 +71,7 @@ static void wl_input_device_data(int fd, uint32_t mask, void *data)
|
||||
device->y = value;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case EV_KEY:
|
||||
if (value == 2)
|
||||
|
Loading…
Reference in New Issue
Block a user