Re: FVWM: Making an app pop up on the desk where it was started?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sun, 20 Apr 2003 13:00:37 +0000

On 20 Apr 2003 10:43:33 +0200, Felix E. Klee wrote:
>
> On Sunday 20 April 2003 00:58, Mikhael Goikhman wrote:
> > > when I start an application on a certain desktop, say 1, and switch to
> > > another desktop, say 2, I find it annoying that the application pops up
> > > on desktop 2. Is there a setting to force all applications and their
> > > child windows to appear on the desktop where they were started?
> >
> > If an application sets a window group hint on all its windos, you may
> > force them to appear on the same desk using:
> >
> > Style * KeepWindowGroupsOnDesk
> >
> > If your app does not set this hint, I guess, you may submit a feature
> > request to that application.
>
> Hm, many apps don't support that hint. But I forged a function that might be
> usable as a replacement for Exec:
>
> DestroyFunc DExec
> AddToFunc DExec
> + I Style $0 StartsOnDesk $[desk.n], SkipMapping
> + I Exec $0
>
> But this doesn't seem to work since the command name $0 doesn't neccessarily
> coincide with the proper style idenitifier.
>
> Any ideas how to fix this?

Pass 2 arguments to a function, the mask and the command line.

> BTW, even KDE has that feature builtin.

Which feature exactly do you speak about?
Explain in detail what you want to get that KDE has builtin.
Which application and which popup windows?

I suspect there is a solution for your app without using StartsOnDesk.

Regards,
Mikhael.
--
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 Sun Apr 20 2003 - 08:02:21 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST