aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
authorLibravatar Ivan Fedotov <17356208+ivanfed0t0v@users.noreply.github.com>2021-03-15 19:06:46 +0300
committerLibravatar Simon Ser <contact@emersion.fr>2021-03-25 11:01:04 +0100
commit346f5a9d14e260405598fc530fb260c894db397f (patch)
treecf45e016607cd346784fde5dfbe2a44103a86ff2 /sway/config.c
parentbuild: update version to v1.6-rc2 (diff)
downloadsway-346f5a9d14e260405598fc530fb260c894db397f.tar.gz
sway-346f5a9d14e260405598fc530fb260c894db397f.tar.zst
sway-346f5a9d14e260405598fc530fb260c894db397f.zip
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.
Diffstat (limited to 'sway/config.c')
0 files changed, 0 insertions, 0 deletions