Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DesktopIntegration: Take stacking order into account #1884

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

leolost2605
Copy link
Member

@leolost2605 leolost2605 commented Apr 2, 2024

We sort windows by stacking order and emit windows_changed when the stacking order changes

@leolost2605 leolost2605 force-pushed the leolost/better-window-desktop-integration branch from 8418d88 to 8dd08cc Compare April 2, 2024 11:52
@leolost2605
Copy link
Member Author

We now don't emit windows_changed when stacking order changes because the actual current stacking order is only needed on specific occasions by the dock where it's more efficient to just manually sync the windows instead of having signal emissions like all the time.

@danirabbit
Copy link
Member

I think what I'm seeing with this branch is if I have 3 windows I sometimes get a case where scrolling will go like:
1 → 2 → 1 → 2 → 3

instead of just
1 → 2 → 3

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.

None yet

2 participants