[PATCH xserver 3/5] XWayland: Fix broken case fallthrough in input

Tiago Vignatti tiago.vignatti at intel.com
Thu Nov 22 14:22:58 PST 2012


From: Daniel Stone <daniel at fooishbar.org>

Fortunately, this had no ill effects, but still isn't what was intended.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
 hw/xfree86/xwayland/xwayland-input.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/xfree86/xwayland/xwayland-input.c b/hw/xfree86/xwayland/xwayland-input.c
index cff6d5e..e547b43 100644
--- a/hw/xfree86/xwayland/xwayland-input.c
+++ b/hw/xfree86/xwayland/xwayland-input.c
@@ -105,6 +105,8 @@ xwl_pointer_proc(DeviceIntPtr device, int what)
         if (!InitButtonClassDeviceStruct(device, 3, btn_labels, map))
             return BadValue;
 
+        return Success;
+
     case DEVICE_ON:
 	device->public.on = TRUE;
         return Success;
-- 
1.7.9.5



More information about the wayland-devel mailing list