aboutsummaryrefslogtreecommitdiff
path: root/stable/viewporter
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2022-04-05 16:00:50 +0200
committerSimon Ser <contact@emersion.fr>2022-04-11 07:35:45 +0000
commit2398378cf7a0508f473e9900735c0954f77ba386 (patch)
tree0a22aaf13f78bddb68423749dced5a90837c8936 /stable/viewporter
parent9b25b514c455ff3cbd237c721e150fe834d20977 (diff)
viewport: Remove mention of wl_surface.attach x/y
This paragraph contains an incomplete definition of how wl_surface.attach x/y arguments functions, and makes no reference to the similar wl_surface.offset. The paragraph states that there is no effect on the behavior of wl_surface.attach. Rather than elaborating on its definition and adding wl_surface.offset, remove the paragraph and let their definition be up to wl_surface itself. Signed-off-by: Kenny Levinsen <kl@kl.wtf>
Diffstat (limited to 'stable/viewporter')
-rw-r--r--stable/viewporter/viewporter.xml6
1 files changed, 0 insertions, 6 deletions
diff --git a/stable/viewporter/viewporter.xml b/stable/viewporter/viewporter.xml
index c732d8c..d1048d1 100644
--- a/stable/viewporter/viewporter.xml
+++ b/stable/viewporter/viewporter.xml
@@ -111,12 +111,6 @@
when the surface state is applied. A NULL wl_buffer does not raise the
out_of_buffer error.
- The x, y arguments of wl_surface.attach are applied as normal to
- the surface. They indicate how many pixels to remove from the
- surface size from the left and the top. In other words, they are
- still in the surface-local coordinate system, just like dst_width
- and dst_height are.
-
If the wl_surface associated with the wp_viewport is destroyed,
all wp_viewport requests except 'destroy' raise the protocol error
no_surface.