diff options
author | 2019-02-15 03:01:19 -0500 | |
---|---|---|
committer | 2019-02-15 09:43:48 +0100 | |
commit | 96de2b539c00992003664d0de225cc28c2fb9e54 (patch) | |
tree | cdb27c19bcc60ca7074fa300acd25f7b57b0d2c9 /include/swaybar | |
parent | seatop_move_tiling: do not move to descendant (diff) | |
download | sway-96de2b539c00992003664d0de225cc28c2fb9e54.tar.gz sway-96de2b539c00992003664d0de225cc28c2fb9e54.tar.zst sway-96de2b539c00992003664d0de225cc28c2fb9e54.zip |
apply_output_config: dpms on before modeset
On the DRM backend, if an output is dpms'd off and a different output is
hotplugged, the CRTC for the output is reclaimed. When modesetting an
output without a CRTC, a CRTC will not be given to an output that is not
desired to be enabled. This splits setting the dpms state in
apply_output_config. If the output should be dpms on, the it is enabled
before attempting to modeset. Otherwise, it is dpms'd off after setting
everything else.
This also adds DPMS_ON to the default output configs.
Diffstat (limited to 'include/swaybar')
0 files changed, 0 insertions, 0 deletions