diff options
author | Damien Tardy-Panis <damien@tardypad.me> | 2020-05-05 18:35:03 +0200 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2020-05-29 17:29:41 -0400 |
commit | 0cbd26f0dae32db38160a82d557017edab8bb632 (patch) | |
tree | 33d51bd6d990ca9606d0306e211e3d0e5f464494 /sway/sway-ipc.7.scd | |
parent | seat_cmd_cursor: emit frame events (diff) | |
download | sway-0cbd26f0dae32db38160a82d557017edab8bb632.tar.gz sway-0cbd26f0dae32db38160a82d557017edab8bb632.tar.zst sway-0cbd26f0dae32db38160a82d557017edab8bb632.zip |
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.scd | 18 |
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: | |||
379 | |- shell | 379 | |- shell |
380 | : string | 380 | : string |
381 | : (Only views) The shell of the view, such as _xdg\_shell_ or _xwayland_ | 381 | : (Only views) The shell of the view, such as _xdg\_shell_ or _xwayland_ |
382 | |- inhibit_idle | ||
383 | : boolean | ||
384 | : (Only views) Whether the view is inhibiting the idle state | ||
385 | |- idle_inhibitors | ||
386 | : object | ||
387 | : (Only views) An object containing the state of the _application_ and _user_ idle inhibitors. | ||
388 | _application_ can be _enabled_ or _none_. | ||
389 | _user_ can be _focus_, _fullscreen_, _open_, _visible_ or _none_. | ||
382 | |- window | 390 | |- window |
383 | : integer | 391 | : integer |
384 | : (Only xwayland views) The X11 window ID for the xwayland view | 392 | : (Only xwayland views) The X11 window ID for the xwayland view |
@@ -676,6 +684,11 @@ node and will have the following properties: | |||
676 | "app_id": null, | 684 | "app_id": null, |
677 | "visible": true, | 685 | "visible": true, |
678 | "shell": "xwayland", | 686 | "shell": "xwayland", |
687 | "inhibit_idle": true, | ||
688 | "idle_inhibitors": { | ||
689 | "application": "none", | ||
690 | "user": "visible", | ||
691 | }, | ||
679 | "window_properties": { | 692 | "window_properties": { |
680 | "class": "URxvt", | 693 | "class": "URxvt", |
681 | "instance": "urxvt", | 694 | "instance": "urxvt", |
@@ -731,6 +744,11 @@ node and will have the following properties: | |||
731 | "app_id": "termite", | 744 | "app_id": "termite", |
732 | "visible": true, | 745 | "visible": true, |
733 | "shell": "xdg_shell", | 746 | "shell": "xdg_shell", |
747 | "inhibit_idle": false, | ||
748 | "idle_inhibitors": { | ||
749 | "application": "none", | ||
750 | "user": "fullscreen", | ||
751 | }, | ||
734 | "nodes": [ | 752 | "nodes": [ |
735 | ] | 753 | ] |
736 | } | 754 | } |