Use Meta.WaylandClient for shell components #1761
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tries to fix stuff like #1693 and #1694 by using
Meta.WaylandClient
to launch the respective apps as trusted subprocesses and by managing their position etc. from within gala as suggested by @davidmhewitt.As a proof of concept this PR currently positions the new dock in the top left corner (I didn't bother getting the maths right for the correct position with the possibility we might not even use this :)) of the primary monitor, keeps it above all other windows and hides it from the window list.
It's based on the
wayland-testing
branch because for some reasonmaster
still crashes for me but can be easily rebased.@tintou @Marukesu is this worth pursuing?
The code is probably not very good, it's the first time I do something window manager related and this is just the result of me playing around with wayland :) Still it works and shouldn't require too much additional effort to get it ready 🤞