sway/include
Michael Weiser 37235b7131 criteria: Add idle inhibitor criteria
Add a criterion that matches idle inhibitors in all their various states
and types. Add call sites at creation and destruction, either via the
protocol or due to command call. This allows to trigger actions based on
idle inhibitor state changes on windows.

Example config combined with keyboard shortcuts inhibitor criterion:

for_window [shortcuts_inhibitor=inactive] title_format !-%title
for_window [shortcuts_inhibitor=active] title_format !+%title
for_window [idle_inhibitor=active] title_format ^%title
for_window [idle_inhibitor=none shortcuts_inhibitor=absent] title_format %title

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
2020-05-10 19:47:13 +02:00
..
sway criteria: Add idle inhibitor criteria 2020-05-10 19:47:13 +02:00
swaybar swaybar: Fix scrolling with precise trackpads 2020-04-28 21:46:37 +02:00
swaynag swaynag: Add multi-seat support 2020-01-05 19:57:05 +01:00
background-image.h Initial swaylock port 2018-04-04 18:47:48 -04:00
cairo.h swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
ipc-client.h swaymsg: add timeout and type checks 2019-04-17 09:07:08 +03:00
ipc.h ipc: add an input event 2019-07-23 20:45:46 +03:00
list.h list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
log.h Use -fmacro-prefix-map to strip build path 2019-07-15 16:35:50 -04:00
loop.h Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
meson.build Address review comments 2018-03-28 14:43:23 -04:00
pango.h Fix pango escaping and refactor escape_markup_text 2018-09-22 18:33:28 +10:00
pool-buffer.h client/pool-buffer: munmap in destroy_buffer 2018-05-27 14:09:48 +01:00
stringop.h input_cmd_xkb_file: allow shell path expansion 2019-11-21 10:36:15 -05:00
util.h cmd_client_*: refactor duplicated code 2019-12-28 10:07:25 +01:00