Hello, @jk
Sorry for reaching you like this, but I couldn't come up with a better way 😋
This commit: https://github.com/skyjake/lagrange/commit/d9166d702c6093e0688dddb0352ebdaa8968e568
is likely the culprit for breaking scrolling as described in this issue: https://github.com/skyjake/lagrange/issues/612
I have the same configuration, using wayland SDL video driver and after updating Largange from 1.16.2 to 1.16.7, mouse wheel scrolling no longer works for me. When I rebuild 1.16.7 with said commit reverted, it magically works again.
@jk
I know, reverting it is no proper solution as it is a fix for something else, but I hope that it will help you narrowing the real cause of the issue down.
Thanks for Lagrange and Bubble! 👍
@m0xee Thanks for the tip! This should help with debugging the issue and finding a workaround for Wayland.
@jk
It starts working for me!
I understand — it probably breaks something else, so my guess is that this condition should be more complex to take the second display into account.
I'm not experienced with SDL, nor am I well-versed in your code to come up with a proper solution myself, but maybe it would give you some ideas.
BTW it works even with out this "fix" if I keep either of mouse buttons pressed and use the scroll wheel.
I hope this helps.