mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
appDisplay: Disable built-in mouse scrolling
We want to either handle a scroll event ourselves, or delegate it to the swipe tracker. What we never want is StScrollView's default handler that doesn't have any knowledge of pages, so disable it. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1560>
This commit is contained in:
parent
57f96b28ab
commit
543261e6eb
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ var BaseAppView = GObject.registerClass({
|
|||
x_expand: true,
|
||||
y_expand: true,
|
||||
reactive: true,
|
||||
enable_mouse_scrolling: false,
|
||||
});
|
||||
this._scrollView.set_policy(St.PolicyType.EXTERNAL, St.PolicyType.NEVER);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue