Re: FVWM: FvwmButtons disappearing

From: Albrecht Kadlec <albrecht_at_auto.tuwien.ac.at>
Date: Mon, 18 Nov 96 19:32:14 +0100

>>>>> Jeroen Valkonet writes:

J> Every now and then my FvwmButtons window closes when entering return. Is
J> there a way to prevent the Buttonbox from getting keyboard-control (it
J> is
J> ment to be controlled by a mouse anyway). Maybe this only applies to the
J> version I use (fvwm95-2, based upon 2.0.41f)?


just add a generic action like the Action XTerm below (may be nop)


*FvwmButtons (Icon xterm.xpm, \
        Action XTerm, \
        Action (Mouse 1) 'Xec "Menu Tools" "Popup Machine OnHostExec $0 $1 xterm"', \
        Action (Mouse 2) 'Xec "Menu WindowOps" XLock', \
        Action (Mouse 3) 'Xec MyWindowList "X _at_@"')

so you can see I do 7 different things with a single button:
I think this is a feature, though the nop should be default
-> no more crashing on non-handled events:

enter: xterm
mouse1-single: Menu Tools
mouse1-double: menu of remote hosts, where I may open an xterm on
mouse2-single: Menu Windowops - if no patch of the root window is left.
mouse2-double: xlock
mouse3-single: WindowList
mouse3-double: door opener

albrecht
-- 
Your reasons were so obvious as my friends have qualified
  I only laughed away your tears, but even jesters cry -- Marillion
--
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 Nov 18 1996 - 12:33:52 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST