Skip to content
  • Keith Packard's avatar
    Report correct RandR 1.0 sizeID. Report correct subpixel order. · 258beebc
    Keith Packard authored
    RandR 1.0 sizeID must be computed the same way every time, so when reporting
    it in the ScreenChangeNotify event, just construct the usual 1.0 data block
    and use that.
    
    subpixel geometry information can be computed by looking at the connected
    outputs and finding any with subpixel geometry and using one of those for
    the global screen subpixel geometry. This might be improved by reporting
    None if more than one screen has information and they conflict.
    258beebc