Skip to content

Conversation

@lenemter
Copy link
Member

Fixes #2079

Makes DaemonManager use ManagedClient instead of reimplementing it

@lenemter lenemter requested a review from a team July 25, 2025 15:05
Copy link
Member

@leolost2605 leolost2605 left a comment

Choose a reason for hiding this comment

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

I kinda don't love having yet another place where we can check whether something isn't a normal window.
Also in theory wayland clients may launch normal windows that would falsely be ignored here. And the other way round more windows can be ignored that aren't explicitly launched by a wayland client.
Can we maybe add this to ShellClientsManager.is_positioned_window (and maybe rename that to is_shell_window since it does more than just positioned windows for quite some time idk) similarly to how notifications are handled there?
Let me know what u think :)

@lenemter lenemter force-pushed the lenemter/ignore-daemon-windows branch from 8e2a2a1 to 85882be Compare July 28, 2025 00:57
@lenemter
Copy link
Member Author

lenemter commented Jul 28, 2025

@leolost2605 We currently use ManagedClient only to launch shell windows so I guess it's fine. By the way, gnome recently merged API to set window types directly, so we may want to remove ManagedClient and WaylandClient in OS 9 (https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4491)

@lenemter lenemter requested a review from leolost2605 July 28, 2025 01:00
@lenemter lenemter moved this to Needs review in OS 8.1.0 Jul 29, 2025
Copy link
Member

@leolost2605 leolost2605 left a comment

Choose a reason for hiding this comment

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

LGTM

@lenemter lenemter marked this pull request as draft July 31, 2025 09:43
@github-project-automation github-project-automation bot moved this from Needs review to Done in OS 8.1.0 Aug 1, 2025
@lenemter lenemter deleted the lenemter/ignore-daemon-windows branch August 2, 2025 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Gala app icon shows up in Dock briefly

4 participants