input_manager: don't ignore double click event when clicking inside device

Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
This commit is contained in:
Yu-Chen Lin 2019-01-18 20:21:25 +08:00
parent 1fdde490fd
commit c5ec1a194c

View file

@ -295,9 +295,9 @@ void input_manager_process_mouse_button(struct input_manager *input_manager,
event->y); event->y);
if (outside) { if (outside) {
screen_resize_to_fit(input_manager->screen); screen_resize_to_fit(input_manager->screen);
}
return; return;
} }
}
// otherwise, send the click event to the device // otherwise, send the click event to the device
} }