Ideas on XNamespace. #440
b-aaz
started this conversation in
2 RFCs of the Core Team
Replies: 2 comments
-
|
Not sure I understand the whole concept well enough yet, but I imagine...
Something like that? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you for adding your idea! At the moment, I'd just like to add some… Additional informationOnly FYI: There some other discussions or pull requests about improving Xnamespace or the associated security context in XLibre: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the idea
The TL;DR:
I think the XNamespaces should be handled at runtime by an entity similar to the Window Manager, (it could be the WM itself).
XNamespaces are currently handled by setting a list of process names and their "namespace" in a config file before the server is initiated, this is understandable for a POC, but if we aim to turn this extension to a widely used technology, we should create a more accessible means of managing these namespaces.
I believe we should walk in the spirit of X11 and provide "unopinionated" APIs that can be used in various scenarios and use cases. An example of these APIs is the simple XWindowMap and XWindowUnmap which are used for minimizing windows, but can also be used to create virtual desktops.
My current idea of how these APIs would look like is the following:
Like the Window Manages role, only a single process should be able to claim this role and have access to these methods. Other processes can only get this role after the previous Namespaces Manager releases its position.
The role of Namespace Manager in most cases would be claimed and used by the Window Manager.
This is currently just a mental map of things, not a reference. We should discuss this further and create an actual spec in the future,
Extra fields
Beta Was this translation helpful? Give feedback.
All reactions