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


Rob,

One Win32 window per top-level X windows isn't an optimization... it's just
necessary.  A top-level window is like a Windows window with a blue
border... any other window could be a button or a scrollbar, etc.  We
certainly don't want to create a Win32 window for each of those (just
picture an X window with a bounding Win32 window and a Win32 window for each
button it has... won't work).

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Robert Collins
> Sent: Monday, April 08, 2002 4:58 PM
> To: Ian Burrell
> Cc: cygwin-xfree@cygwin.com
> Subject: RE: rootless mode
>
>
>
>
> > -----Original Message-----
> > From: Ian Burrell [mailto:iburrell@stanfordalumni.org]
> > Sent: Tuesday, April 09, 2002 5:30 AM
> > To: Robert Collins
> > Cc: cygwin-xfree@cygwin.com
> > Subject: Re: rootless mode
> >
> >
> > 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.
> >
> > I think we only need a Win32 window for each top-level X window.
>
> As I know nothing about the Xserver internals, I'm going to avoid any
> 'optimisations' like this as being premature. Wiser folk than I can
> tweak what I create - if it works.
>
> > > 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.
> > >
> >
> > It would be nice if the rootless mode was orthogonal to the engine. I
> > think this is doable. For the shadow modes, the image is blitted from
> > the framebuffer into the individual windows instead of the screen
> > window. I can see problems with X and Win32 having different
> > ideas about
> >    clipping and overlapping.
>
> It's probably going to be orthogonal, but I am not going to spend time
> trying to make it so. If it works - great, if it doesn't - well as soon
> as I have something prettier than a dozen blank windows on the task bar
> (The current state :}) you'll get a patch and can play to your hearts
> content. All the needed doco to build the test tree is now on record..
>
> Rob


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