Re: FVWM: Managing focus
On Sun, Jul 17, 2005 at 05:12:38PM +0200, Vincent Bernat wrote: > Hello ! > > I would like to setup fvwm to display this behaviour about focus : > when a new window is created or deiconized, if its parent app has the > focus, then, it gets the focus, otherwise, it does not get the focus, > even if it is displayed below the mouse cursor and even if it is > requesting it specifically. > > I am using actually sloppy focus and I have two distinct problems : > - gaim popups the dialog message when a new message comes and I do >want it to be popup, but I do not want it to get the focus because >I may be typing something else. In fact, I would like it to never >get the focus, except when I deiconify myself, or when I click on >it, or when I move the mouse on it. > - when an application popups a dialog, I would like to give it the >focus to be able to use the keyboard to interact with the dialog. > > I think that the above description would solve those two problems. Is > it possible ? As I don't understand exactly what you want I can only suggest to read about the styles grabfocus and grabfocustransient in the man page. Doe that help? Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: FVWM: Managing focus
--- Vincent Bernat <[EMAIL PROTECTED]> wrote: > Hello ! Hello. > I am using actually sloppy focus and I have two distinct problems : > - gaim popups the dialog message when a new message comes and I > do >want it to be popup, but I do not want it to get the focus > because >I may be typing something else. In fact, I would like it to > never >get the focus, except when I deiconify myself, or when I click > on >it, or when I move the mouse on it. You would need to use FvwmEvent for some of that (the (de)iconify and the window receiving focus.) You may or maynot find the "StackTransientParent" style option of use. > - when an application popups a dialog, I would like to give it > the >focus to be able to use the keyboard to interact with the dialog. See: "GrabFocusTransient" as a style option. > I think that the above description would solve those two problems. > Is > it possible ? In part. -- Thomas Adam. Send instant messages to your online friends http://uk.messenger.yahoo.com
Re: FVWM: Managing focus
--- Vincent Bernat <[EMAIL PROTECTED]> a écrit : > Hello ! > > I would like to setup fvwm to display this behaviour about focus > : > when a new window is created or deiconized, if its parent app has > the > focus, then, it gets the focus, otherwise, it does not get the > focus, > even if it is displayed below the mouse cursor and even if it > is > requesting it specifically. > > I am using actually sloppy focus and I have two distinct problems : > - gaim popups the dialog message when a new message comes and I > do >want it to be popup, but I do not want it to get the focus > because >I may be typing something else. In fact, I would like it to > never >get the focus, except when I deiconify myself, or when I click > on >it, or when I move the mouse on it. I think there is a style option for windows to start iconified. > - when an application popups a dialog, I would like to give it > the >focus to be able to use the keyboard to interact with the dialog. > > I think that the above description would solve those two problems. > Is > it possible ? I think there is a question in the FAQ about this (navigator popups or something like this) > -- > Don't use conditional branches as a substitute for a logical > expression. > - The Elements of Programming Style (Kernighan & Plauger) > ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com
FVWM: Managing focus
Hello ! I would like to setup fvwm to display this behaviour about focus : when a new window is created or deiconized, if its parent app has the focus, then, it gets the focus, otherwise, it does not get the focus, even if it is displayed below the mouse cursor and even if it is requesting it specifically. I am using actually sloppy focus and I have two distinct problems : - gaim popups the dialog message when a new message comes and I do want it to be popup, but I do not want it to get the focus because I may be typing something else. In fact, I would like it to never get the focus, except when I deiconify myself, or when I click on it, or when I move the mouse on it. - when an application popups a dialog, I would like to give it the focus to be able to use the keyboard to interact with the dialog. I think that the above description would solve those two problems. Is it possible ? -- Don't use conditional branches as a substitute for a logical expression. - The Elements of Programming Style (Kernighan & Plauger) pgpaw2v93HPm9.pgp Description: PGP signature