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.
- https://bugzilla.redhat.com/show_bug.cgi?id=983834
- https://bugzilla.gnome.org/show_bug.cgi?id=699574
- https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1171342
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/.