summaryrefslogtreecommitdiffstats
path: root/swaybar
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-02-15 03:01:19 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-02-18 15:11:48 -0500
commit8d708b8e1d804198a2c6a53342def6d1505845db (patch)
treecdb27c19bcc60ca7074fa300acd25f7b57b0d2c9 /swaybar
parentseatop_move_tiling: do not move to descendant (diff)
downloadsway-8d708b8e1d804198a2c6a53342def6d1505845db.tar.gz
sway-8d708b8e1d804198a2c6a53342def6d1505845db.tar.zst
sway-8d708b8e1d804198a2c6a53342def6d1505845db.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