diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-03-15 19:06:46 +0300 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-03-15 19:06:46 +0300 |
| commit | f4b75b9a22026d8cb797281ff94de0becee7f042 (patch) | |
| tree | cf45e016607cd346784fde5dfbe2a44103a86ff2 /.builds | |
| parent | 6d46e7c783104024f9ce2bfe8b6847869f330cd6 (diff) | |
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 '.builds')
0 files changed, 0 insertions, 0 deletions
