From 2398378cf7a0508f473e9900735c0954f77ba386 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Tue, 5 Apr 2022 16:00:50 +0200 Subject: 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 --- stable/viewporter/viewporter.xml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'stable') 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. -- cgit v1.2.3