foreign-toplevel-management: add "urgent" state

This can be used for clients like taskbars to indicate an application is
requesting attention, for example when activation is requested via
xdg-activation protocol.
This commit is contained in:
tokyo4j 2024-11-05 00:14:49 +09:00
parent ffb89ac790
commit 32a2c0057e

View file

@ -25,7 +25,7 @@
THIS SOFTWARE.
</copyright>
<interface name="zwlr_foreign_toplevel_manager_v1" version="3">
<interface name="zwlr_foreign_toplevel_manager_v1" version="4">
<description summary="list and control opened apps">
The purpose of this protocol is to enable the creation of taskbars
and docks by providing them with a list of opened applications and
@ -68,7 +68,7 @@
</event>
</interface>
<interface name="zwlr_foreign_toplevel_handle_v1" version="3">
<interface name="zwlr_foreign_toplevel_handle_v1" version="4">
<description summary="an opened toplevel">
A zwlr_foreign_toplevel_handle_v1 object represents an opened toplevel
window. Each app may have multiple opened toplevels.
@ -154,6 +154,7 @@
<entry name="minimized" value="1" summary="the toplevel is minimized"/>
<entry name="activated" value="2" summary="the toplevel is active"/>
<entry name="fullscreen" value="3" summary="the toplevel is fullscreen" since="2"/>
<entry name="urgent" value="4" summary="the toplevel is requesting attention" since="4"/>
</enum>
<event name="state">