On Thu, Dec 13, 2001 at 03:23:37AM -0600, FVWM CVS wrote:
> CVSROOT:      /home/cvs/fvwm
> Module name:  fvwm
> Changes by:   domivogt        01/12/13 03:23:37
> 
> Modified files:
>       .              : NEWS 
>       modules        : ChangeLog 
>       modules/FvwmButtons: FvwmButtons.c 
> 
> Log message:
> * Actions can be bound to windows swallowed in FvwmButtons.

Hello,
It seems to me that there a problem here. Say that
we have a *shaped* application that you sallow in a
FvwmButtons and that app needs buttons click (as a
mini cd player). With the old code, as the application
is shaped you can define FvwmButtons Actions that are
executed when you click on the FvwmButtons button
that swallow the app but "out of the mask" and the
click on the swallowed app is still passed to the
app.
With the new code this does not work any more, as
the mouse buttons are grabbed, a mouse click never
goes to the swallowed app and the FvwmButtons Actions
is always executed.
I see two solutions:
1) do not grab the mouse buttons in the case of
the swallowed app is shaped.
2) add a new action command: GrabedAction which do
what the new code do and keep the old code for the
Action.

Olivier
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to