From b84e8b6769a036f7f7a835907bed1edc74c572d2 Mon Sep 17 00:00:00 2001 From: YaoBing Xiao Date: Wed, 4 Jun 2025 19:07:40 +0800 Subject: [PATCH] xdg-shell: add enums for minimized state to toplevel configure Added a new minimized entry to the state in the xdg_toplevel interface, describing the behavior and representation of minimized surfaces (e.g., as an entry or icon in the task bar, dock, task list, or desktop, depending on shell implementation). The new minimized state is documented with detailed comments to help compositors and clients handle minimized surface correctly. Signed-off-by: YaoBing Xiao --- stable/xdg-shell/xdg-shell.xml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index 39ecf8a..1c9e2dd 100644 --- a/stable/xdg-shell/xdg-shell.xml +++ b/stable/xdg-shell/xdg-shell.xml @@ -29,7 +29,7 @@ DEALINGS IN THE SOFTWARE. - + The xdg_wm_base interface is exposed as a global object enabling clients to turn their wl_surfaces into windows in a desktop environment. It @@ -122,7 +122,7 @@ - + The xdg_positioner provides a collection of rules for the placement of a child surface relative to a parent surface. Rules can be defined to ensure @@ -407,7 +407,7 @@ - + An interface that may be implemented by a wl_surface, for implementations that provide a desktop-style user interface. @@ -620,7 +620,7 @@ - + This interface defines an xdg_surface role which allows a surface to, among other things, set window-like properties such as maximize, @@ -946,6 +946,14 @@ window. + + + The surface is currently minimized, the surface is reduced + to an entry or icon on the task bar, dock, task list or + desktop, depending on how the shell handles minimized + surfaces. + + @@ -1242,7 +1250,7 @@ - + A popup surface is a short-lived, temporary surface. It can be used to implement for example menus, popovers, tooltips and other similar user