RRScreenChangeNotify behavior inconsistent in Xephyr 1.2 vs 1.3

Andrew.Christian at nokia.com Andrew.Christian at nokia.com
Wed Sep 12 05:46:46 PDT 2007

I'm trying to sort out the correct behavior of RRScreenChangeNotify.

Test case:

  Run a copy of Xephyr with a screen size of 240x320.
  Use xrandr to rotate the screen (xrandr -d :1 -o left)

The Xephyr xserver from Ubuntu Feisty (based on the 1.2 branch 
of Xserver) supports RandR 1.1.  It generates an RRScreenChangeNotify 
event with:

  rotation = 2, width = 240, height = 320

A newer Xephyr from the git repository based on the 1.3 branch
supports Randr 1.2.  It generates a pair of RRScreenChangeNotify
events.  They are:

  rotation = 1, width = 240, height = 320
  rotation = 2, width = 320, height = 240

So which version is correct?  Should the width/height reported in 
the RRScreenChangeNotify event match the _unrotated_ pixel dimensions,
or should it match the _rotated_ pixel dimensions (and hence agree
with the ConfigureNotify event).  

 - Andrew

More information about the xorg mailing list