Skip to content

Conversation

@ids1024
Copy link
Member

@ids1024 ids1024 commented Oct 13, 2025

Don't multiply absolute scroll events by 120, and handle value120 scroll events.

Without this, pop-os/cosmic-applets#1102 doesn't work properly. The existing version of that applet still seems to work fine with this change as well.

Also includes an earlier change I hadn't PR'ed to fix auto-hide behavior on compositors other than cosmic-comp, and some refactoring. Those shouldn't have any impact on behavior on cosmic-comp.

Now these don't all need to be passed to `PanelSpace::new()` as seperate
arguments.
The body is just a call to `Option::map`; so if it's supposed to be
doing anything, it appears not to.
Makes the panel usable on compositors without the
`cosmic-overlap-notify-unstable-v1` protocol.

The dock now hides as it should on Sway.
* Absolute events should not be multiplied by 120
* Handle `value120` scroll events
@ids1024 ids1024 requested review from a team October 13, 2025 22:45
Copy link
Member

@jacobgkau jacobgkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scrolling on the current version of the workspaces applet still works fine with this change, as you said. Intellihide behavior also behaves as expected.

@ids1024 ids1024 merged commit f1a9476 into master Oct 14, 2025
6 checks passed
@ids1024 ids1024 deleted the scroll-events branch October 14, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants