diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-02-15 03:01:19 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-02-15 09:43:48 +0100 |
commit | 96de2b539c00992003664d0de225cc28c2fb9e54 (patch) | |
tree | cdb27c19bcc60ca7074fa300acd25f7b57b0d2c9 /swaymsg | |
parent | e8c472aee95ce1cbb6feef04d970327d1717d7fc (diff) |
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 'swaymsg')
0 files changed, 0 insertions, 0 deletions