-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Wayland daemon display labels #1840
Conversation
For testing one can use elementary/switchboard-plug-display#372 |
Given that mutter!2718 is not in 43, do you mind replacing the |
Sure seems I guessed wrong then 😅 |
@lenemter Can you take a look at this? I think these labels are currently the biggest blocker for this gtk4 port :) |
I would actually kinda prefer to go with #1844 first and then I'll push a new branch with display labels based on that one since it's quite a bit better than this one and with less changes. The bigger diff there is just because I moved both menus into separate files. |
@leolost2605 resolve conflicts here please |
See #1861 |
I had this wayland-daemon branch lying around and thought I might as well put it to use.
This removes the gala-daemon autostart and instead starts it as a wayland client on wayland or as a normal subprocess on x. It therefore also removes all the session stuff (not sure whether we have to do somewhere else something else too).
Furthermore it implements an API to show MonitorLabels which is pretty much taken from #1827 and from the original displaylabel in settings.
I've hardcoded the CSS and didn't gresource it since we need some hardcoded css anyways. If it should still be gresourced where would be the best place to put it? Normal
data
folder?I'm not sure since what mutter version
Meta.Context
is required forWaylandClient
creation so I guessed 43 which would fit with the commit date. Is there a good way to find this version?This is an alternative to #1827 and works on both X and wayland.
Closes #1827
Fixes #1823
Probably fixes #1826