swayfx/sway/commands/output
Ivan Fedotov 346f5a9d14 Add toggle logic inside DPMS handler
Logic that obtains current DPMS state is put inside the handler.

sway_output from which the current DPMS state will be obtained is selected by the following logic:
* For '-' and '--' the focused output is used;
* For '*' error "Cannot apply toggle to all outputs" is reported;
* For everything else all_output_by_name_or_id() is used.

Fixes #5929.
2021-03-25 11:01:04 +01:00
..
adaptive_sync.c Add an adaptive_sync output command 2020-03-07 00:32:04 +01:00
background.c input_cmd_xkb_file: allow shell path expansion 2019-11-21 10:36:15 -05:00
disable.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
dpms.c Add toggle logic inside DPMS handler 2021-03-25 11:01:04 +01:00
enable.c Don't allow noop output to be configured 2019-01-22 09:55:13 +01:00
max_render_time.c output: add max_render_time 2019-11-17 20:18:42 +01:00
mode.c Add --custom to output mode command 2019-11-04 19:40:47 -05:00
position.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
scale.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
scale_filter.c add scale_filter output config option 2019-11-29 18:13:37 +01:00
subpixel.c Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
toggle.c Implement output toggle 2019-05-14 00:11:04 -04:00
transform.c Restrict relative output transforms to runtime changes 2020-04-21 14:52:17 +02:00