summaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-11-23 20:12:02 +0200
committerMarius Vlad <marius.vlad@collabora.com>2021-12-08 14:17:23 +0200
commit5101851ecb304e75d536a7e83c92ba890d4e5e83 (patch)
treea7f9abc0cb2e417db5ac7ed156e461764957cf69 /protocol
parente4f4aef1a5b1feb95c40b3c453f448c5bcf9c054 (diff)
src/shell: Add set_app_property_mode request
Bug-AGL: SPEC-4133 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iffc770e079788bb553077665169365dc7b2d901e
Diffstat (limited to 'protocol')
-rw-r--r--protocol/agl-shell-desktop.xml22
1 files changed, 21 insertions, 1 deletions
diff --git a/protocol/agl-shell-desktop.xml b/protocol/agl-shell-desktop.xml
index b90cc1d..97a9ff2 100644
--- a/protocol/agl-shell-desktop.xml
+++ b/protocol/agl-shell-desktop.xml
@@ -22,7 +22,7 @@
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
</copyright>
- <interface name="agl_shell_desktop" version="1">
+ <interface name="agl_shell_desktop" version="2">
<description summary="Private extension to allow applications activate other apps">
This extension can be used by regular application to instruct to compositor
to activate or switch to other running (regular) applications. The client
@@ -139,5 +139,25 @@
<arg name="role" type="uint" enum="app_role"/>
</event>
+ <!-- Version 2 addition -->
+ <request name="set_app_property_mode" since="2">
+ <description summary="Request to change the application properties lifetime">
+ Use this request to inform the compositor to maintain a pending state
+ for an app_id being set with set_app_property() request. Any
+ subsequent application matching that app_id would survive a potential
+ application destruction. Note that this request will take effect
+ globally on all applications.
+
+ To turn it on, or off, use the 'permanent' argument. Initially,
+ the compositor will have this option set to off. Note that it
+ doesn't matter the order of this request with respect to
+ set_app_property() request, as the changes will only take effect
+ when the application itself does the commit with an app_id set,
+ therefore the only requirement is to call this request before
+ the app_id client does its first commit.
+ </description>
+ <arg name="permanent" type="uint"/>
+ </request>
+
</interface>
</protocol>