aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-08-02 17:17:32 -0400
committerSimon Ser <contact@emersion.fr>2019-08-17 11:12:54 +0000
commit17e49ba8443d76f05df89c9663e3661af292a1a4 (patch)
tree845af1cee519eb2f0aa44ae067cfff8165c52c50 /protocol
parentAdd .editorconfig (diff)
downloadwayland-17e49ba8443d76f05df89c9663e3661af292a1a4.tar
wayland-17e49ba8443d76f05df89c9663e3661af292a1a4.tar.gz
wayland-17e49ba8443d76f05df89c9663e3661af292a1a4.tar.bz2
wayland-17e49ba8443d76f05df89c9663e3661af292a1a4.tar.lz
wayland-17e49ba8443d76f05df89c9663e3661af292a1a4.tar.xz
wayland-17e49ba8443d76f05df89c9663e3661af292a1a4.tar.zst
wayland-17e49ba8443d76f05df89c9663e3661af292a1a4.zip
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.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 50fe381..94d4222 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -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