2009/7/27 Brice Goglin <brice.gog...@ens-lyon.org>: > 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 :)
Since the outputs are passed as CARD32 in the request it's probably xrandr's fault it resolves the string into a number which it passes to the X server. The X server validates the number and only proceeds to set the output if it received what it thinks to be a valid number. Thanks Michal -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org