From d83cbf55d16c04c3fe8316805cde8f4fe6a6610e Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 24 May 2020 20:58:39 +0200 Subject: Split control into separate protocol --- protocol/river-control-unstable-v1.xml | 60 ++++++++++++++++++++++++ protocol/river-window-management-unstable-v1.xml | 41 ++-------------- 2 files changed, 64 insertions(+), 37 deletions(-) create mode 100644 protocol/river-control-unstable-v1.xml (limited to 'protocol') diff --git a/protocol/river-control-unstable-v1.xml b/protocol/river-control-unstable-v1.xml new file mode 100644 index 0000000..d770d7d --- /dev/null +++ b/protocol/river-control-unstable-v1.xml @@ -0,0 +1,60 @@ + + + + Copyright 2020 Isaac Freund + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + + + + This interface allows clients to run compositor commands and receive a + success/failure response with a failure message if needed. + + + + + A complete list of commands will be found in the man page for the + compositor. + + + + + + + + + This object is created by the run_command request. Exactly one of the + success or failure events will be sent. + + + + + Send when the command has been successfully received and validated by + the server and will be carried out. + + + + + + Sent when the command could not be carried out. This could be due to + sending a non-existent command, no command, not enough arguments, too + many arguments, invalid arguments, etc. + + + + + diff --git a/protocol/river-window-management-unstable-v1.xml b/protocol/river-window-management-unstable-v1.xml index 816e49d..1b6b2a0 100644 --- a/protocol/river-window-management-unstable-v1.xml +++ b/protocol/river-window-management-unstable-v1.xml @@ -17,22 +17,12 @@ - - This protocol allows clients to run windowing commands and recieve - information about the current windowing state. + + This protocol allows clients to recieve information about the current + windowing state. It is useful to implement, for example, a status bar + displaying information specific to the river compositor. - - - A complete list of commands will be found in the man page. - TODO: write the man page. - - - - - @@ -54,27 +44,4 @@ summary="the current tags of each view on the output"/> - - - - Exactly one of the success or failure events will be sent. - - - - - Send when the command has been successfully received and validated by - the server and will be carried out. - - - - - - Sent when the command could not be carried out. This could be due to - sending a non-existent command, no command, not enough arguments, too - many arguments, invalid arguments, etc. - - - - -- cgit v1.2.3