From 9238fd2224d8c1d595e02fbd6b77b98ed1c3a19d Mon Sep 17 00:00:00 2001 From: Demi Marie Obenour Date: Sat, 15 Oct 2022 15:56:32 -0400 Subject: Add xdg-shell.unresponsive error This allows compositors to disconnect clients that have been deemed unresponsive. Signed-off-by: Demi Marie Obenour --- stable/xdg-shell/xdg-shell.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index f815b9a..d01175d 100644 --- a/stable/xdg-shell/xdg-shell.xml +++ b/stable/xdg-shell/xdg-shell.xml @@ -50,6 +50,8 @@ summary="the client provided an invalid surface state"/> + @@ -94,7 +96,8 @@ A client must respond to a ping event with a pong request or - the client may be deemed unresponsive. See xdg_wm_base.ping. + the client may be deemed unresponsive. See xdg_wm_base.ping + and xdg_wm_base.error.unresponsive. @@ -108,7 +111,9 @@ Compositors can use this to determine if the client is still alive. It's unspecified what will happen if the client doesn't respond to the ping request, or in what timeframe. Clients should - try to respond in a reasonable amount of time. + try to respond in a reasonable amount of time. The “unresponsive” + error is provided for compositors that wish to disconnect unresponsive + clients. A compositor is free to ping in any way it wants, but a client must always respond to any xdg_wm_base object it created. -- cgit v1.2.3