(Thanks for the new Buttons, Jarl! It's great.)
Does anyone have a working example of a (mouse) action binding in
a swallowed button: I have the following in ".fvwm2rc"
---- Start of included text -----------------------8<--- cut here -------------
*FvwmButtons(Swallow(UseOld) "xload1" "Exec xload -font 6x10
-background PeachPuff2 -title xload1 -hl yellow -update 5 -scale
2 -geometry -1500-1500 &", Action 'Exec "top_at_clove" xterm -title
top_at_clove -e top')
---- End of included text -------------------------8<--- and here -------------
But the only way that I can run "top" is by pressing the return
key on the button (clicking with the mouse does nothing).
If instead I put
---- Start of included text -----------------------8<--- cut here -------------
*FvwmButtons(Swallow(UseOld) "xload1" "Exec xload -font 6x10
-background PeachPuff2 -title xload1 -hl yellow -update 5 -scale
2 -geometry -1500-1500 &", Action(Mouse 1) 'Exec "top_at_clove"
xterm -title top_at_clove -e top')
---- End of included text -------------------------8<--- and here -------------
Again nothing happens with mouse clicks, but FvwmButtons crashes
with some X error when return is pressed.
Also I don't understand why the examples of UseOld in the manual
all combine it with NoKill, when "NoKill" is the default anyway,
isn't it? Even with UseOld, is I restart fvwm2 a couple of
times, it seems to miss xload's, swisswatch regularly :-(
Jens
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon May 13 1996 - 01:31:00 BST