5 ms·
Forgive me if I'm incorrect, but doesn't a user space implementation mean it does not understand to reset momentum between window focus events? So if I scroll l
by canadaduane 4y ago
Forgive me if I'm incorrect, but doesn't a user space implementation mean it does not understand to reset momentum between window focus events? So if I scroll like crazy in app1 then Alt-Tab to app2, scrolling carries to app2?
- dwattttt 4y agoIt could be designed either way; shared memory could allow current velocity etc to be shared between processes, or it could just not be shared. I haven't checked this implementation to see which it would be
- albertzeyer 4y agoYes that's correct. That's certainly a problem I sometimes actually observe. Although you could extend it to handle that. But that makes it more platform dependent. E.g. on Linux and MacOS, the scroll events are send to the top-most window under the mouse cursor. It does not matter what window you have focused. I think on Windows it is always send to the focused windows? PRs are welcome. :)