Scrolling doesn’t work in GTK+ 3 apps in 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’t-work-on-current-wed-sep-25-a-4175478706/.

Published by

Marcel Kapfer

Composer, Designer and Programmer

One thought on “Scrolling doesn’t work in GTK+ 3 apps in StumpWM”

Leave a Reply

Your email address will not be published. Required fields are marked *