This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: rootless mode
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: "Cygwin-Xfree" <cygwin-xfree at sources dot redhat dot com>
- Date: Mon, 8 Apr 2002 17:19:13 +0200
- Subject: RE: rootless mode
> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf
> Of Robert Collins
> Sent: Monday, April 08, 2002 10:13 AM
> To: cygwin-xfree@cygwin.com
> Subject: rootless mode
>
>
> 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.
It may be that you already know this, but do you have seen
the links about the ntxlib (and perhaps the libw11 project)
on http://kde-cygwin.sourceforge.net/.
The rxvt port is based on this stuff. There is a basic
implementation of creating windows within a x client lib.
Perhaps you can use it for your goal.
Regards
Ralf