@jk
Hello again, new development here!
Turns out my issue wasn't really Wayland-related, but second display related or maybe 2nd display + Wayland-related as I have noticed mouse scrolling working just fine on my other machine with identical setup, but without second display.
Anyway, original issue I have reported persists in 1.17.0
But if I change one condition in isScrollableWithWheel_DocumentWidget_()
> hitChild_Window(win, coord_Window(win, x, y)) == d;
To the direct opposite (== to !=)…
@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.
@m0xee Thanks for the tip! This should help with debugging the issue and finding a workaround for Wayland.