Add missing breaks in evdev switch.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user