config: add gtk-horizontal-tab-scroll option#12659
Open
00JCIV00 wants to merge 2 commits into
Open
Conversation
Add a boolean config option to enable/disable two-finger horizontal touchpad scrolling for switching tabs. Defaults to true to preserve existing behavior. When tab scrolling is disabled or the scroll source is not a touchpad, forward horizontal scroll events to the terminal so applications like neovim can handle them. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
tested this, and it allows me to use touchpad and horizontal scroll wheel to scroll in nvim |
jcollie
approved these changes
May 18, 2026
jcollie
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've implemented a GTK toggle (gtk-horizontal-tab-scroll) for the 2-finger tab swiping introduced in #10575.
This resolves the issue presented in #11566. Simply put, this allows users to decide whether or not they want to use horizontal tab scrolling or just have the events passed through. Passing through the horizontal scroll events allows programs like Neovim to use them for horizontal scrolling.
This PR was largely generated by Claude Code and fully reviewed/refined by me.