Merge branch 'enter-event' into 'main'

protocol: clarify when wl_surface.enter events are sent

See merge request wayland/wayland!292
This commit is contained in:
yshui 2025-12-15 20:12:34 +00:00
commit e96e562ef3

View file

@ -1709,7 +1709,7 @@
<description summary="surface enters an output">
This is emitted whenever a surface's creation, movement, or resizing
results in some part of it being within the scanout region of an
output.
output. A surface must be mapped before it can enter any outputs.
Note that a surface may be overlapping with zero or more outputs.
</description>
@ -2788,6 +2788,9 @@
actually visible. This typically corresponds to a monitor that
displays part of the compositor space. This object is published
as global during start up, or when a monitor is hotplugged.
When an output global is first bound, wl_surface.enter events should be
sent for all surfaces already on that output.
</description>
<enum name="subpixel">