"Erwin J. van Eijk" <eijk_at_huygens.org> writes:
> Hi,
>
> I was thinking the following; I'm using Emacs with a lot of different
> files and a lot of different frames. And I'd like it very much if the
> icon displayed reflected the name of the frame. For instance, if I'm
> editing a C-file, the frame is called foo.c. I have a FvwmIconBox
> binding for "*.c" and an icon, and I want that icon displayed.
>
> However, this only works if the window is created with the name "*.c",
> and not if it changes afterwards. I think the following should be
> happening:
>
> If the Iconlabel changes, make a new lookup of the icon pixmap.
>
> Is this easy to implement, or am I wondering the impossible?
Actually, I've been working on a patch that may help.
Currently fvwm2 assigns an icon box to each window as the window is
created.
The patch that I have been working on is to allow for multiple icon
boxes like this:
Style "*" IconBox x y x y
Style "*" IconBox x y x y
This way after the first iconbox is filled, it would go on to the
second icon box and fill it.
In order for this to work, I plan to find the appropriate icon box at
the time the window is iconified, rather than when the window is
created.
I believe that since fvwm2 sees the new icon label, this patch should
place the icon in the appropriate box at iconification time.
I can't say when this patch will be completed, but I can say, its
somewhere between easy and "not impossible".
> Greetings
> EJ
> --
> +--------------------+
> | Erwin J. van Eijk | Functionless art is simply tolerated vandalism
> | eijk_at_acm.org | We are the vandals
> +--------------------+ - Type O Negative
> --
--
Dan Espen Phone: (908) 699-5570
dane_at_bae.bellcore.com
444 Hoes Lane Room RRC 1C-214
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Sep 30 1997 - 10:06:04 BST