GNOME Bugzilla – Bug 671305
Recent gtk+ changes require GDK_SCROLL_MASK to be set explicitly
Last modified: 2012-03-08 21:05:15 UTC
Created attachment 208947 [details] [review] Proposed patch Current gtk+ (3.3.17+) requires GDK_SCROLL_MASK to be set explicitly. Selecting for button press/release doesn't suffice anymore to get scroll events.
If this worked in previous gtk versions, then this would seem to be a gtk bug...
I'm not a gtk developer nor an experienced programmer, but as far as I understand the gtk+ changelog it is an intended change, not a gtk bug.
s/changelog/gitlog This is related to the recent addition of GDK_SMOOTH_SCROLL_MASK.
Comment on attachment 208947 [details] [review] Proposed patch This is unfortunate, but adding GDK_SCROLL_MASK to the events looks right anyway, and shouldn't break anything for gtk < 3.3, so let's get this in. Please commit to the vte-next and vte-0-32 branches.
*** Bug 671523 has been marked as a duplicate of this bug. ***
*** Bug 671554 has been marked as a duplicate of this bug. ***
I confirm that this fixes mouse scrolling in gnome-terminal again. Thanks for the patch!