From f5f2db091ae809b43a4bb6f34e5282b27a13d45f Mon Sep 17 00:00:00 2001 From: aleteoryx Date: Tue, 8 Oct 2024 12:18:57 -0400 Subject: [PATCH] split things up better --- proto/tabbde.xml | 102 +++-------------------------------------- proto/uri_shell.xml | 109 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+), 96 deletions(-) create mode 100644 proto/uri_shell.xml diff --git a/proto/tabbde.xml b/proto/tabbde.xml index d93b814..b4847da 100644 --- a/proto/tabbde.xml +++ b/proto/tabbde.xml @@ -3,96 +3,22 @@ This file is in the Public Domain, and the author waives all legal rights to it. - - A better way to use the computer. - - - - - This is what a program wishing to handle a specific scheme - uses to inform the WM that it will do so. Only one of these may - exist for any scheme, in all clients. Creating a new one - for a given scheme invalidates all others. - - - - - - This is what any renderer uses to advertise to the WM. Slugs - must be globally unique, and attempting to reregister one - should error. - - - + + This protocol contains features core to the way the tabbed desktop + environment (TabbDE) functions. + This shouldn't be used by any applications, it's a core part of the finished DE. Only one application may register itself as a fallback handler, and the WM should expect this to happen at early boot. - - - - - This shouldn't be used by any applications, it's a core part of - the finished DE. Only one application may register itself as a - system:// handler, and the WM should expect this to happen at - early boot. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - + The fallback interface exists so that the DE can ask the user for what to do when encountering an unknown scheme or MIME type. Each @@ -122,20 +48,4 @@ - - - - - - - - - - - - - - - - diff --git a/proto/uri_shell.xml b/proto/uri_shell.xml new file mode 100644 index 0000000..705cbd9 --- /dev/null +++ b/proto/uri_shell.xml @@ -0,0 +1,109 @@ + + + This file is in the Public Domain, and the author + waives all legal rights to it. + + + Most programs operate on data with a known location. This protocol + provides the base for a windowing system centered around URIs. + + Individual windows are not provided by single apps. Instead they + are made up of a scheme handler, which uses a URI to retrieve some + data, and an ad-hoc series of renderers which produces the final + wl_surface to be rendered. + + This protocol only defines the interface for scheme handlers and + renderers to connect and facilitate the rendering of windows. The + mechanism by which such clients are started, routed, or otherwise + configured is out-of-scope for this protocol. + + + + + This is what a program wishing to handle a specific scheme + uses to inform the WM that it will do so. Only one of these may + exist for any scheme, in all clients. Creating a new one + for a given scheme invalidates all others. + + + + + + + This is what any renderer uses to advertise to the WM. Slugs + must be globally unique, and attempting to reregister one + should error. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.45.2