Marcel Kapfer

Scrolling doesn't work in GTK+ 3 apps in StumpWM

2018-02-15

76 words, ~1min reading time

linux commonlisp linux lisp stumpwm

Since some time ago I could not scroll in any GTK+ 3 window in StumpWM with an external mouse. Today I found a workaround for this problem: executing export GDK_CORE_DEVICE_EVENTS=1 in a shell fixes the problem. To set this automatically when starting StumpWM insert the following in your ~/.stumpwmrc:

;; bugfix for scrolling doesn't work with an external mouse in GTK+3 apps.
(setf (getenv "GDK_CORE_DEVICE_EVENTS") "1")

This bug was also reported (and fixed) at the following bug trackers. However, none of those fixes worked for me.

I found this solution at https://www.linuxquestions.org/questions/slackware-14/gtk-3-mouse-wheel-doesn't-work-on-current-wed-sep-25-a-4175478706/.

I would like to hear what you think about this post. Feel free to write me a mail!

Reply by mail