Bob, I had to restore some of the old logic in focus_grab_buttons(). What I do not understand is your motivation to reverse buttons grabbing for the focused window. I think you assumed that calling the function with is_focused == 1 means to ungrab the window - which is wrong. It still grabs buttons if the (focused) window has MouseFocusClickRaises and is not on top of all other overlapping windows. I have removed/rewritten/commented the parts dealing with focus handling in focus_grab_buttons().
Then there is the stuff in MoveFocus which suppresses ungrabbing buttons of the focused window if it is already on top. I guess this causes the problem with xfm, but actually your fix means that these buttons are not ungrabbed at all, regardless if the window is on top or not, i.e. the grabs are permanent as long as the window is focused, right? But this could be done much easier in f_g_b(): if (<mousey_focus> && is_focused) grab_all else if ... This has to be cleaned up before 2.4.1. Bye Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]