I have 2 functions which I would like to change the binding of mouse
button 2 on the root window like this:

Mouse 2 R       A       HidePager

AddToFunc HidePager     "I"     All ("FvwmPager") Stick off
+                       "I"     All ("FvwmPager") MoveToDesk 123
+                      "I"     Mouse 2 R       A       ShowPager

AddToFunc ShowPager     "I"     All ("FvwmPager") Stick on
+                      "I"     Mouse 2 R       A       HidePager


So that pressing button 2 will toggle.
But this will not work, it seeems the last line tries to call the other
function, because the cursor changes to an hour-glass for about 1 second
(as if there's an infinity recursion that is interrupted).

Is it not possible to use the Mouse command in functions like this?
I didn't find anything about this in the man-page.

//Marcus

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to