• Colomban Wendling's avatar
    Fix horizontal and page scroll on GTK3 · 604eac9f
    Colomban Wendling yazdı
    Our custom scroll handler for horizontal (Shift+Scroll) and page
    (Alt+Scroll) scroll didn't properly check the scroll direction and
    assume that if it's not down it's up.  This was mostly not a problem
    because the other types only were left and right scroll events, which
    are a lot less common.
    
    However, it became a lot more problematic with GTK 3.4 that introduced
    "smooth scrolling", and thus a new scroll type that can happen for
    events in any direction.  We then would scroll up (as we assume "not
    down" is up) regardless of the actual direction of the event.
    
    It's still not clear why we'd get smooth scroll events on X11 as no
    code I can find asks for it and we generally don't get those, but
    sometimes a Scintilla widget starts receiving them, leading to the bug.
    On Wayland on the other hand, Scintilla asks for smooth scroll events,
    so we need to have a fix for it in any case.
    604eac9f
Adı
Son kayıt (commit)
Son güncelleme
ctags Loading commit data...
data Loading commit data...
doc Loading commit data...
icons Loading commit data...
m4 Loading commit data...
plugins Loading commit data...
po Loading commit data...
scintilla Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COMMITTERS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-22 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.I18N Loading commit data...
README.Packagers Loading commit data...
README.rst Loading commit data...
THANKS Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
geany.desktop.in Loading commit data...
geany.exe.manifest Loading commit data...
geany.gladep Loading commit data...
geany.nsi.in Loading commit data...
geany.pc.in Loading commit data...
geany.spec.in Loading commit data...
geany_private.rc Loading commit data...