[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: XEMBED: Preventing focus loops
- From: Owen Taylor <otaylor redhat com>
- To: Keith Packard <keithp keithp com>
- Cc: xdg-list freedesktop org
- Subject: Re: XEMBED: Preventing focus loops
- Date: Thu, 21 Aug 2003 12:21:08 -0400
On Thu, 2003-08-21 at 12:02, Keith Packard wrote:
> Around 9 o'clock on Aug 21, Owen Taylor wrote:
>
> > * assign a unique ID to the focus sequence so that an
> > individual embedder could check if it was repeating
> > a focus sequence.
>
> Is the timestamp not sufficiently unique?
No -
It's pretty frequent to have focus changes that don't correspond
to any user action (e.g., focus the first widget in the window
when it is initally mapped), and those cases are either going to
get CurrentTime or a timestamp from the last event with
a timestamp, neither of which is usefully unique. You could do the
PropertyChangeNotify trick to get the real server time, but
that's slow, and for non-user-events, I don't think it's
safe to assume that two won't occur in the same millisecond.
Regards,
Owen
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]