aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-01 21:29:36 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-01 21:29:36 +0200
commit9e3746a4e42f98cad7dfe5b41779ffa81bd4366a (patch)
tree8e0bdb9af1c275d33c92b0f649821cfe4cbcef91 /doc
parent39249ed57170f09e7dd2fc76c62b51d90a2a4d76 (diff)
downloadsciteco-9e3746a4e42f98cad7dfe5b41779ffa81bd4366a.tar.gz
GTK: handle (smooth) scrolling with a scroll controller
* On interfaces, which only support smooth scrolling, we had to emulate discrete events. Moreover, once we enabled GDK_SMOOTH_SCROLL_MASK, systems that would previously report discrete UP/DOWN events, would suddenly report GDK_SCROLL_SMOOTH. * Converting from smooth scroll events to discrete scroll events turned out to be trickier than anticipated. Scrolling was therefore more sluggish than it used to be before 2f448c976889fe60aba8557b5aa4aa0a0d939281. * Scrolling is therefore now delegated to a GtkEventControllerScroll, which is used to synthesize a discrete GDK_SCROLL event that's fed into the usual event pipeline via teco_interface_input_cb().
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions