FreeRDP/client/Wayland
Marek Vasut 1a1056d76d client: wayland: Fix mouse event fallback pointer flags
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>
2021-11-29 15:47:23 +01:00
..
CMakeLists.txt Replaced CMAKE_[SOURCE|BINARY]_DIR with PROJECT_[SOURCE|BINARY]_DIR 2021-06-22 08:54:18 +02:00
wlf_channels.c Added /video support for wayland client 2021-10-18 10:53:05 +02:00
wlf_channels.h Made CHANNEL_TSMF optional and deprecated. 2020-02-26 13:56:43 +01:00
wlf_cliprdr.c Fixed shadowing and type errors 2021-08-24 10:45:57 +02:00
wlf_cliprdr.h Implemented wayland clipboard. 2019-01-23 15:56:11 +01:00
wlf_disp.c uwac, wlfreerdp: corrected API for UwacOutput and added monitor listing 2020-04-21 08:12:31 +02:00
wlf_disp.h uwac, wlfreerdp: corrected API for UwacOutput and added monitor listing 2020-04-21 08:12:31 +02:00
wlf_input.c client: wayland: Fix mouse event fallback pointer flags 2021-11-29 15:47:23 +01:00
wlf_input.h Wayland client: Disable shortcut inhibition on rctrl press 2021-04-08 09:23:58 +02:00
wlf_pointer.c Fixed cast-qual warnings 2021-08-24 11:10:51 +02:00
wlf_pointer.h Added mouse cursor callback stubs. 2019-01-29 09:34:30 +01:00
wlfreerdp.1.in Fix warning in man pages 2017-08-03 08:41:50 +02:00
wlfreerdp.c Added app_id on wayland client 2021-11-12 15:58:39 +01:00
wlfreerdp.h Moved global static variables to context (#7264) 2021-09-01 09:44:11 +02:00