summaryrefslogtreecommitdiff
path: root/sway/sway-ipc.7.scd
diff options
context:
space:
mode:
authorDamien Tardy-Panis <[email protected]>2020-05-05 18:35:03 +0200
committerBrian Ashworth <[email protected]>2020-05-29 17:29:41 -0400
commit0cbd26f0dae32db38160a82d557017edab8bb632 (patch)
tree33d51bd6d990ca9606d0306e211e3d0e5f464494 /sway/sway-ipc.7.scd
parent8cdcb77e12bf9c52fb51ce9a7da7e6a850fa5a37 (diff)
Add views idle inhibition status in get_tree output
Fixes #5286
Diffstat (limited to 'sway/sway-ipc.7.scd')
-rw-r--r--sway/sway-ipc.7.scd18
1 files changed, 18 insertions, 0 deletions
diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd
index 5cef0bb4..63e3ceb6 100644
--- a/sway/sway-ipc.7.scd
+++ b/sway/sway-ipc.7.scd
@@ -379,6 +379,14 @@ node and will have the following properties:
|- shell
: string
: (Only views) The shell of the view, such as _xdg\_shell_ or _xwayland_
+|- inhibit_idle
+: boolean
+: (Only views) Whether the view is inhibiting the idle state
+|- idle_inhibitors
+: object
+: (Only views) An object containing the state of the _application_ and _user_ idle inhibitors.
+ _application_ can be _enabled_ or _none_.
+ _user_ can be _focus_, _fullscreen_, _open_, _visible_ or _none_.
|- window
: integer
: (Only xwayland views) The X11 window ID for the xwayland view
@@ -676,6 +684,11 @@ node and will have the following properties:
"app_id": null,
"visible": true,
"shell": "xwayland",
+ "inhibit_idle": true,
+ "idle_inhibitors": {
+ "application": "none",
+ "user": "visible",
+ },
"window_properties": {
"class": "URxvt",
"instance": "urxvt",
@@ -731,6 +744,11 @@ node and will have the following properties:
"app_id": "termite",
"visible": true,
"shell": "xdg_shell",
+ "inhibit_idle": false,
+ "idle_inhibitors": {
+ "application": "none",
+ "user": "fullscreen",
+ },
"nodes": [
]
}