whoops...
This commit is contained in:
parent
c9c299fadb
commit
b8884af287
1 changed files with 3 additions and 3 deletions
|
|
@ -547,10 +547,10 @@ static void decode_ev(output_dev_t *const out_dev, message_t *const msg) {
|
|||
if ((msg->data.event.ev[0].code == BTN_MIDDLE) || (msg->data.event.ev[0].code == BTN_LEFT) || (msg->data.event.ev[0].code == BTN_RIGHT)) {
|
||||
msg->data.event.ev_flags |= EV_MESSAGE_FLAGS_PRESERVE_TIME | EV_MESSAGE_FLAGS_MOUSE;
|
||||
return;
|
||||
} else if (msg->data.event.ev[a].type == EV_REL) {
|
||||
msg->data.event.ev_flags |= EV_MESSAGE_FLAGS_PRESERVE_TIME | EV_MESSAGE_FLAGS_MOUSE;
|
||||
return;
|
||||
}
|
||||
} else if (msg->data.event.ev[a].type == EV_REL) {
|
||||
msg->data.event.ev_flags |= EV_MESSAGE_FLAGS_PRESERVE_TIME | EV_MESSAGE_FLAGS_MOUSE;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue