Skip to content

Commit bf451d6

Browse files
committed
window list: Ignore smooth scroll events when mousewheel cycling is
enabled. Fixes #11362
1 parent 7dd753c commit bf451d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

files/usr/share/cinnamon/applets/[email protected]/applet.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,10 @@ class AppMenuButton {
415415
_onScrollEvent(actor, event) {
416416
let direction = event.get_scroll_direction();
417417

418+
if (direction === Clutter.ScrollDirection.SMOOTH) {
419+
return Clutter.EVENT_STOP;
420+
}
421+
418422
// Find the current focused window
419423
let windows = this.actor.get_parent().get_children()
420424
.filter(function(item) {

0 commit comments

Comments
 (0)