autorandr
autorandr copied to clipboard
Call xrandr individually for each display
The way autorandr previously used to generate one gigantic xrandr call with multiple --outputs wouldn't work reliably. In some setups, I'd consistently get:
xrandr: Configure crtc 1 failed"
whereas running two xrandr calls, one for each display, works.
This patch simply dispatches one xrandr call per display.
I just ran into the same issue. This branch fixed the xrandr errors!
There's drivers that'll automatically reenable one output, and also window managers unhappy about having everything disabled.
Okay, I'll see when I can take another look at the code. I'm now travelling with just a single screen, so…