mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-24 22:51:48 +00:00
078a151e4f
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. |
||
---|---|---|
.. | ||
app.c | ||
config.c | ||
config.h | ||
kb.h | ||
lg-renderer.c | ||
ll.c | ||
main.c | ||
main.h | ||
utils.c |