> I just upgraded to FVWM 2.2 and my keybinding for F2 has stopped working.
> The binding I have is:
>
> Key F1 A A Prev [CurrentPage WinId1] FlipFocus
> Key F2 A A Prev [CurrentPage WinId2] FlipFocus
>
> The F1 key (and all others) works just fine. I find the following
> error in my .xsession-errors every time I hit F2:
>
> /tmp/.wm_pid: No such file or directory
>
>
> Any idea what is causing this? I searched in the fvwm2 man page
> and didn't find anything about it using F2 for its own purposes.
>
> Dan
I tracked down the bug. When a function has double click actions single
clicks get the wrong type. Below is a patch that fixes the bug.
Dan
--- fvwm/complex.c.orig Tue Mar 9 12:04:57 1999
+++ fvwm/complex.c Tue Mar 9 12:18:57 1999
_at_@ -179,6 +179,13 @@
type = DOUBLE_CLICK;
ev = &d;
}
+ /* If a function has DOUBLE_CLICK actions, a single click results in
+ * type = ONE_AND_A_HALF_CLICKS, which causes CLICK actions to stop
+ * working. This hack fixes it, but the way double clicks are
+ * handled should probably be fixed in a better way.
+ * Bug fix by -DDN- (Dan D Niles dniles_at_iname.com or dan_at_more.net) */
+ if( type == ONE_AND_A_HALF_CLICKS ) type = CLICK; /* -DDN- */
+
/* some functions operate on button release instead of
* presses. These gets really weird for complex functions ... */
if(ev->type == ButtonPress)
--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Mar 09 1999 - 12:31:39 GMT