FVWM: FVWM2, FvwmButtons

From: Rob Lowrie <lowrie_at_lanl.gov>
Date: Tue, 24 Jun 1997 07:29:51 -0600 (MDT)

How do I get FvwmButtons/Swallow to "intercept" mouse clicks, instead
of passing them onto the swallowed application? For example:

*FvwmButtons(2x1 Size 64 64 Frame -3 Swallow(Respawn,NoHints) asclock \
       `Exec exec asclock -12 -noblink`, Action RunCm)

If I click on the app, the event is passed onto asclock, instead of
running RunCm. Note that if I click on the frame, then RunCm executes. I
want RunCm to always execute.

An fix might be, at least for asclock, is that asclock has a `exe' option,
which allows you to specify a program to run when it's clicked on.
Unfortunately, it's not clear how I can get a script to communicate with
fvwm2 to run RunCm (I couldn't get FvwmCommand to work on my system).

Thanks for any suggestions,

-Rob

--
 Rob Lowrie                     \         Los Alamos National Laboratory
 lowrie_at_lanl.gov                 \ Scientific Computing, CIC-19, MS B256
 http://www.c3.lanl.gov/~lowrie/  \            Los Alamos, NM  87545 USA
--
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 Tue Jun 24 1997 - 08:28:29 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST