Tim Phipps wrote: > What about when windows are created,
GrabFocus and GrabFocusTransient handle this case at the moment. > mapped i.e. de-iconified > or generally change state or do you think FvwmEvent is the way > to handle this? No, I don't think FvwmEvent is the way to handle anything. It's just plain buggy. Well, not really, but it's so slow that it regularly freezes fvwm itself or other modules if it's really used. In the long term, it should go into the fvwm core. But for now, it should suffice. In general, we may not want to make a specific solution for state changes in regard to focus policy. As you proposed for the "Style" rewrite, removing the distinction between window style and state already requires triggering arbitrary actions on state changes. If this is ever implemented we'll get the focus policy part for free. On Tue, Jul 23, 2002 at 11:18:05AM -0400, Bob Woodside wrote: > On Tue, 23 Jul 2002 15:21:39 +0200 > Dominik Vogt <fvwm@fvwm.org> wrote: > > > In the best tradition of the "great style flag rewrite" I'm now > > planning the "great focus policy rewrite" (GFPR) :-) > > Whew! I sense another round of grab code rewriting in the > offing. Maybe this'll make the code a bit easier to follow and > debug, Sure :-) I still sometimes end up with windows that don't have the grab as they should. Just give me a chance to rewrite the focus code - then we can take a close look at grabbing again. > and we can finally squash the > old MouseFocus - MouseFocusClickRaises - doubleclick bug that I had to give up > on last year. > (It still exists, by the way, but the current versions of xfm and > moxfm have my patches to work around it, and I don't know of any other common > apps that have the problem. But I still have my old test programs.) Yes, I know. We had a discussion about some problem your last fix introduced right before your wife was in the hospital. I disabled that patch later because I saw no immediate fix. It's still in the code, though (focus.c, focus_grab_buttons() and MoveFocus()). 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]