On Mon, May 16, 2011 at 07:22:29PM -0700, Lorinc Hever wrote:
> Hello,
>
> I have question about ButtonPress, ButtonRelease release propagation.
>
> FVWM version 2.5.1
Get a newer version (2.6.1).
> We have a mouse and a trackball attached to our system. We have
> applications interested in processing the trackball event in a special
> way so it's interested in the ButtonPress and ButtonRelease events.
>
> We found that in add_window.c fvwm unconditionally turns of the event
> propagation of these events
>
> attributes.do_not_propagate_mask = ButtonPressMask | ButtonReleaseMask;
> XChangeWindowAttributes(dpy, FW_W(fw), valuemask, &attributes);
>
> Could you help us what's the reason behind it? And what consequences
> it might have if we remove this limitation?
It comes from TWM, actually. I suppose it's there so that we don't pass a
button click to the window would if the window somehow disappears at this
point.
You'll need to be a lot more specific as to what it is you're trying to do.
-- Thomas Adam
--
"Deep in my heart I wish I was wrong. But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)