This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rootless mode


On Mon, Apr 08, 2002 at 06:12:33 +1000, Robert Collins wrote:
> I've been thinking about rootless mode.
> 
> Here's  my current thoughts:
> 
> 1) We create a real win32 window for each X window. 
> 2) We use SetWindowLong to store the X window pointer in the WIN32
> struct, so that when a message arrives to that windowclass's WindowProc,
> we can lookup the X window the message belongs to.
> 3) We use WindowPrivates to store the WIN32 related window HANDLE and
> other gunk.
> 
> I don't know how we go about telling X it's rootless - Alan, I'm hoping
> you can jump in here and say 'do X, Y and Z'.
> 
> Anyway, whilst I won't have time to be a significant contributor, I hope
> to have a proof-of-concept patch against the Native GDI engine shortly.
> 
Robert,

I agree with your above suggestions, but we are still a way off doing
anything 'rootless' yet. We need a fully functional native GDI server,
which it currently isn't and there's still many bugs. Again, I'm not
too worried about performance until we are fully functional.

Once we have a Native GDI server and it passes the xtest suite then,
we should start looking at 'rootless' modes, but feel free to continue
down your path. I just don't want to clutter up code yet with something
else until we're done with a primary objective. And I certainly don't
want my focus to change to anything else yet.

Alan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]