Skip to content

protocol: clarify when wl_surface.enter events are sent

yshui requested to merge yshui/wayland:enter-event into main

It was unclear what happens when a output global is bound. I believe the expectation is that all surfaces on that output will receive enter.

Also make it explicit a surface must be mapped, i.e. have both content and role, to enter an output.

BTW, I am still unclear what happens when an output object is released. Would surfaces receive leave events?

Merge request reports