-
-
Notifications
You must be signed in to change notification settings - Fork 77
Introduce a WindowListModel #2561
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
Conversation
|
This should be ready for review now and thorough testing would be appreciated :) |
lenemter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! I always wanted to get rid of these endless signal chains in multitasking view code. I left 2 questions/suggestions. Once they're resolved I'll be happy to merge this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for implementing this!
Closes #2353
Introduce a window list model that allows us to collect the filtering and sorting code for different views of the current window list in a single place
Since this window list model now also guarantees that all windows that appear in it have a valid actor i.e. get_compositor_private won't return null this will allow for a bunch of clean up in a follow up :)
This should also help quite a bit with #2522 to allow more deduplication there