-
Notifications
You must be signed in to change notification settings - Fork 103
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
XDG-Decoration support #664
Comments
I'm aware of xdg-decoration-unstable-v1, and know there's at least one downstream project (Unity8) that would benefit it. So, yes, it is something we should support. However, it is not something we've currently scheduled work on. If it is important to you, we'd be happy to see a PR. I also have some thoughts about making it easy for shell developers to add and configure Wayland extensions. But that is currently something that informs any design work we do, not an active task. |
Hi Alan, this extension only allows clients to toggle on/off windows decorations on the server side. I haven't seen a wayland protocol that would allow to define that. I also understand that wayland protocols are targeted at compositor <-> client (i.e. an application) communication and it is assumed the shell is part of the compositor itself. Have you had already some thoughts on a Mir API towards the shell, here specifically to decorate windows (wl_surfaces declared as shell windows via the xdg_shell)? |
I think you are misunderstanding the protocol. If a client supports this protocol it should respect the configuration events sent by the server:
The client is allowed to request it's preference, but the server is in control. |
Oops, that's what comes of replying from a phone. |
This can now be prototyped outside of Mir proper using the bespoke Wayland extensions support if someone wanted to. We are still interested in PRs providing this in Mir proper. |
I have a TMP branch that implements this, maybe this would be better fit for upstream? https://gitlab.com/ubports/core/qtmir/-/commit/92397aa061bc868cad4d16fd8b4b3044226d371d |
That looks like a good start for a Mir PR! I'm not sure how it would want to be exposed to Mir shells; it probably requires some new miral API - a window property, and some mechanism for setting the shell's preferred mode? |
I don't think all that would be required, at least not for the simple case. We already have a |
@mariogrip we'd need a PR against the Mir source tree, not QtMir. The non-autogenerated code in this branch is mostly Qt (and QtMir) specific, so it's hard to know what would be usable. (I guess refactoring this so the QtMir support could be layered on top of miral or miroil would be a useful step.) |
closed by #3425 |
Hello. Is there any plans to support xdg-decoration-unstable-v1 protocol?
The text was updated successfully, but these errors were encountered: