FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
553 stars 108 forks source link

Mac: Console scrolls on mouse movement #398

Open noodlecollie opened 6 years ago

noodlecollie commented 6 years ago

If I run the engine on Mac and toggle the dropdown console in game, the text in the console will scroll when I move the mouse cursor up and down. I'd expect this only to happen when I do a two-finger scroll.

mittorn commented 6 years ago

Maybe it is some SDL issue? Engine only hanfles touch and wheel events as scroll

noodlecollie commented 6 years ago

@a1batross previously said:

Can you create a separate issue for console? Looks like it's caused by wrong SDL2 event dispatching. Console is scrolled only by press & motion event(i.e. swiping) and mouse wheel.

mittorn commented 6 years ago

i meant press & motion handled only when it from touch, not mouse dragging. So it means that SDL2 maybe processes some events wrong