Codebase list wayland-protocols / c124b64
xdg-shell: Add suspended toplevel state Add a toplevel state to indicate that surface repaints have been suspended. This may arise due to occlusion, output power state, etc. In this state, clients can choose to take meaningful action such as suspending any processing which would drive a repaint loop, or communicating to the active browser tab that the tab is not system-visible, or any other action that would be taken by a client not expecting to repaint until further notice. cf. discussion in wayland/wayland-protocols!99 Signed-off-by: Daniel Stone <daniels@collabora.com> Daniel Stone 10 months ago
1 changed file(s) with 12 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2828 DEALINGS IN THE SOFTWARE.
2929 </copyright>
3030
31 <interface name="xdg_wm_base" version="5">
31 <interface name="xdg_wm_base" version="6">
3232 <description summary="create desktop-style surfaces">
3333 The xdg_wm_base interface is exposed as a global object enabling clients
3434 to turn their wl_surfaces into windows in a desktop environment. It
121121 </event>
122122 </interface>
123123
124 <interface name="xdg_positioner" version="5">
124 <interface name="xdg_positioner" version="6">
125125 <description summary="child surface positioner">
126126 The xdg_positioner provides a collection of rules for the placement of a
127127 child surface relative to a parent surface. Rules can be defined to ensure
406406 </request>
407407 </interface>
408408
409 <interface name="xdg_surface" version="5">
409 <interface name="xdg_surface" version="6">
410410 <description summary="desktop user interface surface base interface">
411411 An interface that may be implemented by a wl_surface, for
412412 implementations that provide a desktop-style user interface.
614614
615615 </interface>
616616
617 <interface name="xdg_toplevel" version="5">
617 <interface name="xdg_toplevel" version="6">
618618 <description summary="toplevel surface">
619619 This interface defines an xdg_surface role which allows a surface to,
620620 among other things, set window-like properties such as maximize,
886886 considered to be adjacent to another part of the tiling grid.
887887 </description>
888888 </entry>
889 <entry name="suspended" value="9" since="6">
890 <description summary="surface repaint is suspended">
891 The surface is currently not ordinarily being repainted; for
892 example because its content is occluded by another window, or its
893 outputs are switched off due to screen locking.
894 </description>
895 </entry>
889896 </enum>
890897
891898 <request name="set_max_size">
11841191 </event>
11851192 </interface>
11861193
1187 <interface name="xdg_popup" version="5">
1194 <interface name="xdg_popup" version="6">
11881195 <description summary="short-lived, popup surfaces for menus">
11891196 A popup surface is a short-lived, temporary surface. It can be used to
11901197 implement for example menus, popovers, tooltips and other similar user