[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Menus in lower left corner, possible patch
From: |
Michael Hanni |
Subject: |
Re: [RFC] Menus in lower left corner, possible patch |
Date: |
Mon, 10 Mar 2003 11:36:37 -0800 (PST) |
Willem,
--- Willem Rein Oudshoorn <woudshoo@xs4all.nl> wrote:
>
> [Quoted from another e-mail:]
> > I went fishing in the usenet archives at google and pulled this out:
>
> > "An excellent analysis of the problem. I would ony add this:
>
> >How to fix this: First, issue your MapWindow request, then flush the
> >client's request buffers by calling XFlush(). After that, wait for a
> >MapNotify event or an Expose event to be sure that the window has been
> >mapped, and only *then* issue your UnmapWindow request.
>
> Not a good idea. Is very hard to get right and as long as I can not find
> a foolproof way of matching the MapNotify to the XMapWindow request I
> prefer the hack solution.
I tried something like this by waiting after the XFlush until the window in
question returned that it had been mapped, unfortunately this did not work
well. There were no windows in the bottom left corner, but the delay time was
sometimes quite excruciating.
Do you have a patch with your proposed solution in it? I'm curious to see what
the code actually looks like...
Cheers,
Michael
=====