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>
This commit is contained in:
parent
5ef53a94ce
commit
a4e614d301
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user