swayfx/sway/desktop
Brian Ashworth d9de5b8758 Implement inhibit_idle command
This implements the following command to set/unset a user idle
inhibitor for a view:
`inhibit_idle focus|fullscreen|open|none|visible`

The modes are as follows:
- focus: inhibited when the view is focused by any seat
- fullscreen: inhibited when the view is fullscreen (or a descendant of
  a fullscreen container) and is visible on any output
- open: inhibited until the view is closed or the inhibitor is unset or
  changed
- none: unsets any user set idle inhibitors for the view
- visible: inhibited when the view is visible on any output

This should have no effect on idle inhibitors set by the applications
themselves and those should still work as intended.

Since this operates on the view in the handler context, it is possible
to set it on the currently focused view, on any existing view with
criteria, or for any future view with for_window.
2019-03-24 19:26:12 -06:00
..
desktop.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
idle_inhibit_v1.c Implement inhibit_idle command 2019-03-24 19:26:12 -06:00
layer_shell.c Handle seat_get_focused_workspace returning NULL 2019-03-12 19:14:04 +01:00
output.c Fix output config retrieval for new outputs 2019-03-16 10:40:46 -06:00
render.c Remove debug tree 2019-03-18 11:29:19 -04:00
transaction.c Implement inhibit_idle command 2019-03-24 19:26:12 -06:00
xdg_shell.c Introduce default seatop 2019-03-17 10:02:04 -06:00
xdg_shell_v6.c Introduce default seatop 2019-03-17 10:02:04 -06:00
xwayland.c Introduce default seatop 2019-03-17 10:02:04 -06:00