Re: client-side-windows vs metacity



On Tue, 2009-02-03 at 11:16 +0100, Alexander Larsson wrote:
> On Tue, 2009-02-03 at 10:55 +0100, Alexander Larsson wrote:
> > On Sat, 2009-01-31 at 07:43 -0500, Owen Taylor wrote:
> > 
> > > If you get an Inferior leave, you may be losing the ability to track the
> > > pointer at that point ... the pointer may have disappeared deep into a
> > > descendant of some foreign child. So I don't see how you can just ignore
> > > it - it's going to need to be translated into one or more GDK leave and
> > > enter events. (Depending on the current sprite window tracked by GDK and
> > > the subwindow field.)
> > > 
> > > Same for Inferior enters, and in fact virtual enters/leaves as well.
> > 
> > Hmm, this is a bit of a problem. How do you tell the difference from a
> > virtual leave to an inferior with subwindow NULL to a virtual leave to a
> > parent (which also sets subwindow to NULL).
> 
> Actually, I think the book i have is not correct. This can't happen,
> right? Because in the second case we'd have an virtual enter with parent
> NULL.

Well, the reverse - you get a Enter/Virtual to an inferior, a
Leave/Virtual to a parent, but yes.

- Owen





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