1a1056d76d
In either case of wlf_handle_touch_up()/wlf_handle_touch_down(), the UINT16 flags are set to fixed values, so there is little reason for checking presence of specific flag in them again. The conditional is always true no less, so just call freerdp_input_send_mouse_event(). Moreover, the flags submitted to the remote are wrong. The code should send BUTTON1/DOWN/MOVE on wlf_handle_touch_down(), so the remote would pick not only the button down event, but also the coordinate update, else the remote would receive a mouse click at the wrong coordinates. The wlf_handle_touch_motion() should update the pointer location too, make it send plain MOVE event. Signed-off-by: Marek Vasut <marex@denx.de> |
||
---|---|---|
.. | ||
Android | ||
common | ||
iOS | ||
Mac | ||
Sample | ||
Wayland | ||
Windows | ||
X11 | ||
.gitignore | ||
CMakeLists.txt | ||
freerdp-client.pc.in | ||
FreeRDP-ClientConfig.cmake.in |