Re: Patch for Ximian bug #6150 - AltGr does not work if the mouse is not over the control



On Tue, 2001-11-06 at 17:10, Michael Meeks wrote:
>         If this is the only way we can do it then ... it sucks, but we    
> have to do it I suppose - thanks so much for looking into it.
> 
>         Please commit & I'll release again.

Thanks a lot for making the release!

It would be much simpler if GTK+ 1.2.x provided a way to install an
event filter for all windows, but unfortunately it doesn't have a way to
do it.

I guess the patch could be made smarter by skipping windows that do not
have KeyPressMask/KeyReleaseMask on them, and have it just install the
filter for the (parent) windows that do.  This way we would let X
propagate events on its own and we would catch them just on the windows
that are actually able to receive such events.  But it would still not
be any prettier.

  Federico



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]