]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commit
Workaround xrandr bug: "cannot find crtc for output" - efficient solution
authortachylatus <helgesdk@gmail.com>
Thu, 4 Jul 2013 10:44:43 +0000 (12:44 +0200)
committertachylatus <helgesdk@gmail.com>
Thu, 4 Jul 2013 11:36:03 +0000 (13:36 +0200)
commit83355f418b766be94a49c51a4f2cf77362148b0e
tree44b7900f5808cef6e40cb2a29da7624609e994e0
parent393917156558574f0c3e07cccb8ea8c30cfc457f
Workaround xrandr bug: "cannot find crtc for output" - efficient solution

xrandr will typically fail when switching outputs, if the maximum number is already enabled.
This patch will cause xrandr to be called twice:
- First invocation will only disable outputs, freeing up CRTCs
- Second invocation will only enable outputs
autorandr