[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#538800: /usr/bin/xrandr: setting non-existent output as primary resets screen ordering



Michal Suchanek wrote:
> Package: x11-xserver-utils
> Version: 7.4+2
> Severity: normal
> File: /usr/bin/xrandr
>
>
> In my .xsessionrc I set up the screen layout with xrandr.
> Because different drivers name the outputs differently I have the
> commands repeated with different output names.
>
> All works fine except for --primary.
>
> Setting non-existent output as primary resets the output order to the
> driver default.
>   

It looks like xrandr is passing the request with the wrong output up to
the server. Then the server probably clears the primary status before it
fails to setup the new primary output. So there's no primary output
anymore. Patch welcome :)

> I also have some doubts I could set up screen order of more than two
> screens with such odd xrandr behavior.
>   

Most hardware do not support more than 2 (not-cloned) outputs at the
same time anyway :)

Brice




Reply to: