aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-02-15 03:01:19 -0500
committerLibravatar emersion <contact@emersion.fr>2019-02-15 09:43:48 +0100
commit96de2b539c00992003664d0de225cc28c2fb9e54 (patch)
treecdb27c19bcc60ca7074fa300acd25f7b57b0d2c9 /swaybar
parentseatop_move_tiling: do not move to descendant (diff)
downloadsway-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 'swaybar')
0 files changed, 0 insertions, 0 deletions