summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuki Takise <takise@google.com>2023-08-08 02:41:02 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-08-08 02:41:02 +0000
commit296617868643182e56712f0d18e051b297f4b15f (patch)
tree976e966f61a49bfd90d4bcf8f2124ed36c7ae942
parent2d0d42d1e8e381314c6ef5b573ef5de4648a91ee (diff)
parent8ebc388b721f6708a37dd5d2eed65883abac3189 (diff)
downloadwayland-protocols-296617868643182e56712f0d18e051b297f4b15f.tar.gz
Update remote_shell_v2 to version 4 am: 8ebc388b72
Original change: https://android-review.googlesource.com/c/platform/external/wayland-protocols/+/2694750 Change-Id: Iaa83ae83fe8913bca2be28cdc81c4c6ca12db05d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--chromium.org/unstable/remote-shell/remote-shell-unstable-v2.xml32
1 files changed, 29 insertions, 3 deletions
diff --git a/chromium.org/unstable/remote-shell/remote-shell-unstable-v2.xml b/chromium.org/unstable/remote-shell/remote-shell-unstable-v2.xml
index bcf1afb..9e1c8db 100644
--- a/chromium.org/unstable/remote-shell/remote-shell-unstable-v2.xml
+++ b/chromium.org/unstable/remote-shell/remote-shell-unstable-v2.xml
@@ -2,7 +2,7 @@
<protocol name="remote_shell_unstable_v2">
<copyright>
- Copyright 2021 The Chromium Authors.
+ Copyright 2021 The Chromium Authors
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
@@ -38,7 +38,7 @@
reset.
</description>
- <interface name="zcr_remote_shell_v2" version="2">
+ <interface name="zcr_remote_shell_v2" version="4">
<description summary="remote_shell">
The global interface that allows clients to turn a wl_surface into a
"real window" which is remotely managed but can be stacked, activated
@@ -162,7 +162,7 @@
</interface>
- <interface name="zcr_remote_surface_v2" version="2">
+ <interface name="zcr_remote_surface_v2" version="4">
<description summary="A desktop window">
An interface that may be implemented by a wl_surface, for
implementations that provide a desktop-style user interface
@@ -432,6 +432,7 @@
<entry name="move" value="5" summary="the window bounds is moved due to other WM operations"/>
<entry name="resize" value="6" summary="the window bounds is reiszed due to other WM operations"/>
<entry name="pip" value="7" summary="the window bounds is resized or moved for PIP"/>
+ <entry name="float" value="8" summary="the window bounds is resized or moved for float state" since="3"/>
</enum>
<event name="bounds_changed" since="1">
@@ -620,6 +621,8 @@
summary="a mask to turn the maximize_restore button to zoom button"/>
<entry name="center" value="64"
summary="a customizable, center-aligned button"/>
+ <entry name="float" value="128"
+ summary="a button to float a window without maximize or restore"/>
</enum>
<request name="set_frame_buttons" since="1">
@@ -708,6 +711,8 @@
<request name="set_accessibility_id" since="1">
<description summary="set accessibility ID to the surface">
+ [Deprecated] Use zaura_surface's set_accessibility_id instead.
+
Set accessibility window ID to the surface. A negative number removes
the existing accessibility ID from the surface.
</description>
@@ -828,6 +833,27 @@
</description>
<arg name="type" type="uint" enum="resize_lock_type" summary="resize lock type"/>
</request>
+
+ <request name="set_float" since="3">
+ <description summary="set the surface to be floated">
+ Request that surface is floated.
+ </description>
+ </request>
+
+ <!-- Version 4 additions -->
+ <request name="set_scale_factor" since="4">
+ <description summary="Allows the client to set the scale factor for the future buffer commits.">
+ The client has a 32-bit float scale factor that is associated with each
+ remote surface. This scale factor must be propagated exactly to exo. To
+ do so we reinterpret_cast into a 32-bit uint and later cast back into a
+ float. This is because wayland does not support native transport of
+ floats. As different CPU architectures may use different endian
+ representations for IEEE 754 floats, this protocol implicitly assumes
+ that the caller and receiver are the same machine.
+ This is double buffered state and will be applied in the next commit.
+ </description>
+ <arg name="scale_factor_as_uint" type="uint"/>
+ </request>
</interface>
<interface name="zcr_notification_surface_v2" version="1">