Skip to content

Introduce LayoutManager - #2879

Open
leolost2605 wants to merge 3 commits into
mainfrom
leolost/layout-manager
Open

Introduce LayoutManager#2879
leolost2605 wants to merge 3 commits into
mainfrom
leolost/layout-manager

Conversation

@leolost2605

Copy link
Copy Markdown
Member

Split the logic regarding UI layout out of WindowManagerGala and into a separate LayoutManager.
The new LayoutManager handles settings things up and acts a little bit like a facade to the UI and widgets.
The reason to do this is to reduce the size and complexity of WindowManagerGala and introduce some more explicit bounds between different parts of Gala.

@leolost2605
leolost2605 marked this pull request as ready for review July 29, 2026 18:36
Split the logic regarding UI layout out of WindowManagerGala
and into a separate LayoutManager.
The new LayoutManager handles settings things up and acts a little
bit like a facade to the UI and widgets.
The reason to do this is to reduce the size and
complexity of WindowManagerGala and introduce
some more explicit bounds between different parts of Gala.
@leolost2605
leolost2605 force-pushed the leolost/layout-manager branch from 4ac41ee to c361d08 Compare July 29, 2026 18:36
@leolost2605
leolost2605 requested a review from a team July 29, 2026 18:36

@lenemter lenemter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't like making multitasking view / window overview private and adding methods to use them. Why don't just make them public at this point?

Comment thread lib/WindowManager.vala Outdated
Comment thread src/WindowManager.vala Outdated
Comment thread src/WindowManager.vala Outdated
@leolost2605

This comment was marked as outdated.

@leolost2605
leolost2605 force-pushed the leolost/layout-manager branch from c361d08 to 8dafe57 Compare July 31, 2026 16:33
@leolost2605

Copy link
Copy Markdown
Member Author

@lenemter I made the multitasking view and window overview public now. We also pass the window overview to the desktop integration.
I might look into reducing the exposure of internals in the future but I thought a bit more and we should probably do that differently. Also ig it's pretty good as is now.

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.

2 participants