Add missing breaks in evdev switch.
authorKristian Høgsberg <krh@redhat.com>
Mon, 24 Nov 2008 05:13:13 +0000 (00:13 -0500)
committerKristian Høgsberg <krh@redhat.com>
Mon, 24 Nov 2008 05:13:13 +0000 (00:13 -0500)
evdev.c

diff --git a/evdev.c b/evdev.c
index f91b685..ee51e0e 100644 (file)
--- a/evdev.c
+++ b/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)