On Thu, Dec 13, 2001 at 09:07:51PM +0100, Olivier Chapuis wrote: > 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.
3) Pass the click to the application despite of the click. I'll try that first. Bye Dominik ^_^ ^_^ -- Dominik Vogt, email: [EMAIL PROTECTED] LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20 -- 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]