IrrDeviceWayland: set pointer position on touch down

This commit is contained in:
Sebastian Krzyszkowiak 2019-01-09 16:27:21 +01:00 committed by Deve
parent d961aa9521
commit 20310f9dbc

View File

@ -454,6 +454,7 @@ public:
if (device->m_touches_count == 0)
{
pointer_motion(data, NULL, 0, x, y);
pointer_button(data, NULL, 0, 0, BTN_LEFT,
WL_POINTER_BUTTON_STATE_PRESSED);
}