Richard Levitte - VMS Whacker <[EMAIL PROTECTED]> writes:

> Would a few of you be willing to try it out and report back?
>
> --- ctwm-3.7.orig/workmgr.c
> +++ ctwm-3.7/workmgr.c
> @@ -901,7 +901,11 @@
>      if (twm_win->iconmgr) return;
>      if (! Scr->TransientHasOccupation) {
>       if (twm_win->transient) return;
> -     if ((twm_win->group != (Window) 0) && (twm_win->group != twm_win->w)) 
> return;
> +     /*
> +      * The following is commented out because it prevents, e.g.,
> +      * Mozilla windows from occupying different workspaces.
> +      */
> +     /* if ((twm_win->group != (Window) 0) && (twm_win->group != 
> twm_win->w)) return; */
>      }
>      for (ws = Scr->workSpaceMgr.workSpaceList; ws != NULL; ws = ws->next) {
>       Window obuttonw = Scr->workSpaceMgr.occupyWindow->obuttonw [ws->number];

I didn't try it, but I get the feeling that this has to do with the
mysterious invisible group leader window that GTK applications such as
Mozilla use.

I believe recent versions of CTWM already handles GTK's invisible
group leader window. Right?

Before that, you had to set "TransientHasOccupation" in .ctwmrc to
allow GTK programs to occupy several windows.

Attachment: pgp6wqG8uQby4.pgp
Description: PGP signature

Reply via email to