summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2009-04-25 16:46:10 +1000
committerDaniel Stone <daniel@fooishbar.org>2009-09-01 11:25:38 +1000
commita4e614d301cfa2577de1ee6a15abf023590586d1 (patch)
treed87dd82234f3e4a9b0a3bf6bb55a84b457836b5b
parent5ef53a94ce4e48e11de26290cd677266308640c8 (diff)
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 <daniel@fooishbar.org>
-rw-r--r--Xi/exevents.c1
1 files changed, 1 insertions, 0 deletions
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 */