mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2026-01-06 20:10:20 +01:00
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>
This commit is contained in:
parent
9b25b514c4
commit
2398378cf7
1 changed files with 0 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue