[Mono-list] Interception X11 events

Diego Nunes diego.nunes.br at gmail.com
Wed Aug 16 10:17:47 EDT 2006

A windows manager "knows" when a new window application rises by
receiving a Maprequest event.
This event informs about handle, location and dimension of new window,
so the WindowManager can Paint the Title Bar, borders and Minimize,
maximize and close buttons.
Looking at the source of XplatUI, this event is ignored.
I'm thinking in 2 solutons:
a) Mono changes the source and translate Maprequest to WM_USER with
additional info.
b) Rewrite (derivating) Application (Run method), XplatUI and
XplatUIX11 classes for this job.


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
> >
> >

More information about the Mono-list mailing list