This file contains a RealAudio attachment.
RealPlayer v4.0 or later is required.
A version of this message in GSM WAV format is located at
http://www.666.com/audio/mail/19980825-2-gsm-8k.wav
Gunnar Evermann wrote:
Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
> Maybe you could move the call
>
> f = x_any_window_to_frame (d, win);
> if (!f)
> return 0;
>
> to before the loop. Since frames are biggest structures we support, if
> it is not a window of a frame there is no use iterating down anyway.
Oh, good point!
I'll try that -- I hadn't because I thought that the Window could be
something strange, like a scrollbar or something, which doesn't
correspond to an Emacs window...
To answer my own question: I just had another look at frame-x.c and
feel real stupid now, as I found 'is_valid_window()' which aparently
does exeactly what I was looking for :-)
Next time I will read the whole source before posting dumb
questions. Sorry for the waste of bandwidth...
I will send a new patch later this weekend.
> Why is the XSync solution not OK? Isn't the problem that we are
> getting return outdated information because Xt has a backlog
> processing events.
Yes, that's what I think.
Martin seemed unhappy with the idea of adding yet another XSync
because of the performance hit it causes.
Gunnar
--
Ben Wing
- If this message is long and typed, someone else typed it for me
- If it has a .rm (RealAudio) attachment, see
http://www.real.com/products/player/downloadrealplayer.html?wp=dl0498
- If this doesn't work and there's a GSM WAV attachment, see
http://xanim.va.pubnix.com/home.html