Re: FVWM: gimp2 + StartsOnDesk + SkipMapping

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Fri, 3 Sep 2004 10:25:44 +0200

On Thu, Sep 02, 2004 at 06:08:53PM +0200, Chris Rouch wrote:
> On Thu, 2 Sep 2004 17:34:11 +0200
> Dominik Vogt <fvwm_at_fvwm.org> wrote:
>
> > On Thu, Sep 02, 2004 at 04:51:53PM +0200, Felix E. Klee wrote:
> > > Hi Chris,
> > >
> > > On Thu, 3 Jun 2004 14:24:29 +0200 Chris Rouch wrote:
> > > > I want the gimp to start on desk 3, so I have the following
> > > > configuration:
> > > >
> > > > Style "gimp-2.0" StartsOnDesk 3 SkipMapping
> > > >
> > > > The splash screen goes to desk 3 without altering my current desk.
> > > > However as soon as the main application appears my desk is
> > > > switched, so it looks like the SkipMapping is being ignored.
> > > >
> > > > Does anyone know how to fix this?
> > >
> > > Did you ever solve that problem. I find it quite annoying.
>
> No I didn't.
>
> >
> > Put
> >
> > BugOpts ExplainWindowPlacement on
> >
> I've tried that. If I'm on desk 0, the output I get is:
>
> [FVWM][__explain_placement]: placed new window 0x2a00002 'GIMP Startup':
> desk 0 (specified by style)
> current page
> position 488 362 (used program specified position)
>
> [FVWM][__explain_placement]: placed new window 0x2a00a5d 'The GIMP':
> desk 0 (specified by style)
> current page
> position 0 61 (used user specified position)
>
> [FVWM][__explain_placement]: placed new window 0x2a00af1 'The GIMP':
> desk 0 (specified by style)
> current page
> position 964 64 (used user specified position)
>
> This corresponds to the splash screen and the two gimp windows. I only
> have 1 page per desk. The style option is:
>
> Style "Gimp*" StartsOnDesk 3, SkipMapping, RandomPlacement

Some conclusions:

  1) The output of the ExplainWinowPlacement option is broken (it
     shows the current desk, not the target desk). I'll fix that.

  2) Fvwm did *not* ignore SkipMapping and did *not* switch desks
     when the window was placed.

  ==> The application must have caused it. Probably the
      application used the ewmh interface to switch desks.

Try to comment out the "gogo_desk(...)" call in fvwm/ewmh_events.c
in the ewmh_CurrentDesktop function. If my theory is correct,
this should suppress the problem.

If this really is the cause, contact the gimp developers and ask
them to remove this mis-feature. If they want all windows on one
desk, they should use the window group hint and hope all windows
are placed on the same desk as the group leader.

Ciao

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de


--
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 Fri Sep 03 2004 - 03:22:39 BST

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