mirror of
https://gitlab.freedesktop.org/wlroots/wlr-protocols.git
synced 2025-12-30 16:30:15 +01:00
foreign-toplevel-management: Allow to emit toplevels responsiveness state
By emitting this state to interested clients it becomes possible to inform the user about frozen / unresponsive applications. This is usually checked by the compositor by sending a "ping" to the toplevel. When no unresponsive state is received the client should assume the toplevel to be responsive.
This commit is contained in:
parent
2b8d43325b
commit
4ea687f00f
1 changed files with 8 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
@ -150,10 +150,12 @@
|
|||
as the states with the same names defined in xdg-toplevel
|
||||
</description>
|
||||
|
||||
<entry name="maximized" value="0" summary="the toplevel is maximized"/>
|
||||
<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="maximized" value="0" summary="the toplevel is maximized"/>
|
||||
<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="unresponsive" value="4" summary="the compositor deems the toplevel unreponsive" since="4"/>
|
||||
|
||||
</enum>
|
||||
|
||||
<event name="state">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue