Re: Remote x11 apps get multiple resize events



By the way,

I'm running leopard 10.5.2

-Jonathan


On 5/13/08 1:36 PM, in article C44F49DB.AAB%jj21@xxxxxxxxxxx, "Jonathan
Joseph" <jj21@xxxxxxxxxxx> wrote:

I'm having a problem with x11 apps running on a remote machine displaying
and displaying on my mac. When I resize the window, multiple resize events
are generated, causing the window (containing an image) to redraw multiple
times. Because the app is remote, this can be a slow process - you drag the
resize handle and then the app redraws the window a bunch of times before
settling down at the desired size.

What I expect to happen, and what I see when running the same application
locally is that the window border resizes (so you can see what the final
size will be), but the widget resize event is not generated until the mouse
button is released.

I'm not sure why the behavior should be different for local/remote apps, but
I'm trying to find a way tell the window manager to NOT send all of these
intermediate resize events to the remote app. Tweaking the app to ignore
multiple consecutive resize events won't even work because no event is sent
to the remote app when the mouse button is finally released. The resize
events seem to only be set on mouse motion.

Thanks for any help.

-Jonathan


.