[PATCH 03/19] xf86: change EnterVT/LeaveVT to take a ScrnInfoPtr (ABI/API break)

Adam Jackson ajax at nwnk.net
Tue May 15 13:48:47 PDT 2012


On 5/14/12 12:40 PM, Dave Airlie wrote:
> This modifies the EnterVT/LeaveVT interfaces to take a ScrnInfoPtr
> instead of an index into xf86Screens. This allows dropping more
> public dereferences of the xf86Screens and screenInfo.

If someone's feeling enterprising: this whole VT idea should really be a 
DIX verb on the ScreenPtr, more like "get/put hardware".  It's one of 
the only really big semantic additions in xfree86 over the other DDXes 
and it leaks in some really ugly ways.

I don't think it's worth addressing in this series, but it's bothered me 
forever.

- ajax


More information about the xorg-devel mailing list