mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
Improve description of wl_surface
The original text makes some assumptions about surfaces which may not be true and fails to capture some details which are important to the essential traits of a wl_surface.
This commit is contained in:
parent
790dd9da16
commit
17e49ba844
1 changed files with 4 additions and 2 deletions
|
|
@ -1279,8 +1279,10 @@
|
|||
|
||||
<interface name="wl_surface" version="4">
|
||||
<description summary="an onscreen surface">
|
||||
A surface is a rectangular area that is displayed on the screen.
|
||||
It has a location, size and pixel contents.
|
||||
A surface is a rectangular area that may be displayed on zero
|
||||
or more outputs, and shown any number of times at the compositor's
|
||||
discretion. They can present wl_buffers, receive user input, and
|
||||
define a local coordinate system.
|
||||
|
||||
The size of a surface (and relative positions on it) is described
|
||||
in surface-local coordinates, which may differ from the buffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue