On Mon, Mar 10, 2008 at 6:44 AM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>
> On 10/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
> > On Mon, Mar 10, 2008 at 5:03 AM, Thomas Adam <[EMAIL PROTECTED]> wrote:
> > > On 10/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
> > > > I find a new problem with the configure "Mouse (skype) 1 2 A
> Destroy":
> > > > When I want to chat with somebody, skype will open another chat
> window
> > > > that seems spawned from the main window, When I press the button 2
> on
> > > > the chat window to close it, the main window is destroyed
> simultaneously.
> > >
> > > Of course. Destroy is just that... destructive.
> > >
> > >
> > > > I found that the chat window spawned from the mail window has the
> > > > same name to the main window, they are both:
> > > > WM_CLASS(STRING) = "skype", "Skype".
> > >
> > > The main skype window and the associated dial window set a role/leader
> > > relationship to one another. Destroying the main window will
> > > obviously destroy these windows as well.
> > >
> > > I suggest you rethink what it is you want to do.
> > >
> > > -- Thomas Adam
> > >
> >
> > I want to just close the dialog window when press the button 2 on the
> dialog
> > window, and destroy skype when press the button 2 on the skype main
> > window.
> >
> > Is it possible the realize that with not a too complex configuration?
>
> Something like this?
>
> DestroyFunc DestroyOrClose
> AddToFunc DestroyOrClose
> + I ThisWindow ("*Skype Chat"|"*Call with*") Close
> + I TestRc (NoMatch) ThisWindow (Skype) Destroy
>
> Mouse (Skype) 2 W C DestroyOrClose
>
> Obviously using whichever mouse binding you prefer.
>
> -- Thomas Adam
>
My god, It seems on fvwm, I have a long way to go! Of course,
I have lots of things to looking forward to.
Thank you Thomas.