From a4e614d301cfa2577de1ee6a15abf023590586d1 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sat, 25 Apr 2009 16:46:10 +1000 Subject: Xi: Fix harmless ButtonPress/ButtonRelease confusion A missing break meant that ButtonPress would fall through into ButtonRelease, but luckily it appears to have been completely harmless. Signed-off-by: Daniel Stone --- Xi/exevents.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Xi') diff --git a/Xi/exevents.c b/Xi/exevents.c index 006561985..2173f354a 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -1070,6 +1070,7 @@ ProcessOtherEvent(InternalEvent *ev, DeviceIntPtr device) * already */ return; } + break; case ET_ButtonRelease: event->detail.button = b->map[key]; if (!event->detail.button) { /* there's no button 0 */ -- cgit v1.2.3