looking-glass/client/src
Quantum 078a151e4f [client] wayland: update absolute mouse position
We are actually getting mouse events directly from Wayland instead of going
through SDL, so we call app_updateCursorPos in pointer motion handlers and
swallow the SDL event.

Also removed parameters for app_handleMouseBasic as it relies exclusively on
absolute positions provided by app_updateCursorPos. Wayland does not give
you relative movements at all unless grabbed and passing absolute movements
is semantically incorrect.

Note that when the cursor is grabbed, movements are handled entirely through
relativePointerMotionHandler in wayland.c and does not go through
app_handleMouseBasic at all.
2021-01-16 21:40:24 +11:00
..
app.c [client] rename state to g_state 2021-01-04 12:06:54 +11:00
config.c [client] all: add screen rotation support win:rotate 2021-01-15 12:42:16 +11:00
config.h [client] fix divide by zero fault with fpsMin disabled (set to 0) 2020-11-08 10:58:18 +11:00
kb.h [client] project restructure part 1/2 2019-03-28 11:02:36 +11:00
lg-renderer.c [client] project restructure part 1/2 2019-03-28 11:02:36 +11:00
ll.c [all] use explicit void parameter lists 2021-01-14 17:29:37 +11:00
main.c [client] wayland: update absolute mouse position 2021-01-16 21:40:24 +11:00
main.h [client] major restructure of platform specific code 2021-01-16 20:41:13 +11:00
utils.c [build] make "common" a static library (part 2/2) 2019-04-11 11:12:59 +10:00