Hi, this is the relevant config part from my old (2.2.4) config and under it I'll describe what it did:
*FvwmButtons (2x4, Title main, Action (Mouse 1) Desk 0 0, \ Action (Mouse 2) Function gostickdesk 0, \ Action (Mouse 3) Function movedesk 0) *FvwmButtons (2x4, Title dev, Action (Mouse 1) Desk 0 1, \ Action (Mouse 2) Function gostickdesk 1, \ Action (Mouse 3) Function movedesk 1) *FvwmButtons (2x4, Size 32 22, Title info, \ Action (Mouse 1) Desk 0 2, \ Action (Mouse 2) Function gostickdesk 2, \ Action (Mouse 3) Function movedesk 2) With this config I had three buttons named "main", "dev" and "info" that I used to switch between desks. Of these three buttons the one representing the current desk was always depressed, the others were released. This worked automagically. gostickdesk and movedesk are my functions, should be irrelevant. In 2.4, the config is as follows: *FvwmButtons: (4x4, Title main, Action "Desk 0 0", \ Action (Mouse 2) "Function gostickdesk 0", \ Action (Mouse 3) "Function movedesk 0") *FvwmButtons: (4x4, Title dev, Action "Desk 0 1", \ Action (Mouse 2) "Function gostickdesk 1", \ Action (Mouse 3) "Function movedesk 1") *FvwmButtons: (4x4, Size 32 22, Title info, \ Action "Desk 0 2", \ Action (Mouse 2) "Function gostickdesk 2", \ Action (Mouse 3) "Function movedesk 2") and the buttons are depressed rather randomly. If I change the command Desk to GotoDesk, they are all released all the time. I traced it to some code in FvwmButtons where there is a check for "Desk"; I didn't have the time or will to go deeper. I can live with them being released all the time for now. 8-) Jacek Kopecky Idoox http://www.idoox.com/ On Sun, 29 Jul 2001, Dominik Vogt wrote: > On Sat, Jul 28, 2001 at 04:37:38PM -0500, fvwm-bug wrote: > > FVWM Bug Tracking notification > > > > new message incoming/748 > > > > Message summary for PR#748 > > From: [EMAIL PROTECTED] > > Subject: button stays depressed in FvwmButtons > > Date: Sat, 28 Jul 2001 16:37:37 -0500 > > 0 replies 0 followups > > > > Full_Name: Jacek Kopecky > > Version: 2.4.0 > > CVS_Date: > > OS: > > X_Server: > > Submission from: (NULL) (194.213.203.154) > > > > > > I have three buttons in FvwmButtons panel. These > > buttons have as their Action the command Desk a b, > > so that I can switch between three desktops very easily. > > > > In 2.2 the appropriate button was depressed > > depending on the current desktop. That held true > > even if I changed the desktop _not_ using these buttons. > > > > In 2.4.0 I didn't succeed to configure the panel > > so that the behavior would be the same. Somehow just > > the first of the three is usually depressed, but with > > weird combinations of doubleclicks and clicks I can achieve > > just about any combination of depressed and released buttons. > > It's hard to say what the problem is without knowing the details > of your configuration. Please post the relevant configuration to > the fvwm-workers@fvwm.org mailing list. > > Bye > > Dominik ^_^ ^_^ > > -- > Dominik Vogt, [EMAIL PROTECTED] > Reply-To: [EMAIL PROTECTED] > -- 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]