[Mono-list] Interception X11 events

Chris Toshok toshok at ximian.com
Wed Aug 16 10:36:29 EDT 2006


XMapWindow doesn't correspond to WM_CREATE.  WM_CREATE corresponds to
window creation (XCreateWindow on X, for which there is no event sent to
the client).  XMapWindow just puts the window on the screen.

Chris

On Wed, 2006-08-16 at 11:35 -0300, Diego Nunes wrote:
> The main information to be translated is window and parent members
> from XMapRequestEvent struct.
> window is the handle of new window
> parent is the handle of parent of new window
> 
> WM_CREATE is closest win32 message.
> the function XGetWindowAttributes, get additional info to compose
> CREATESTRUCT (win32).
> 
> Diego.
> 
> On 8/16/06, Peter Dennis Bartok <Peter at novonyx.com> wrote:
> > Uhm, I'm not sure what you're asking. You want us to do exactly what? Show
> > you how to decode the maprequest, or translate the maprequest into some
> > win32 message (not sure which one that would be). The XplatUI class is
> > internal anyways, unless you're using reflection you won't get that anything
> > in there.
> >
> > Peter
> >
> > -----Original Message-----
> > From: "Diego Nunes" <diego.nunes.br at gmail.com>
> > To: <mono-list at lists.ximian.com>
> > Date: Tuesday, August 15, 2006 20:03
> > Subject: [Mono-list] Interception X11 events
> >
> >
> > >I need get X11 event MapRequest, that isn't translated for w32 event.
> > >In the file XplatUIX11.cs there isn't any handler for this message (in
> > >GetMessage method)
> > >
> > >I need this cos I'm coding a Window Manager (or Desktop Manager) for X11.
> > >
> > >Some can help me?
> > >
> > >Thanks,
> > >Diego.
> > >_______________________________________________
> > >Mono-list maillist  -  Mono-list at lists.ximian.com
> > >http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> > >
> >
> >
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list