On Thu, 12 Jun 1997, Don Fisher wrote:
> I am running fvwm95. I have a online dictinary and an appointment
> calander that I keep active but iconified most of the time. When I
> activate them, I would like them to come up on the page I am currently
> on, not drag me back to the page where the app was iconified. I have
> done the rtfm and don't see how this is accomplished. Any help would be
> appreciated.
I'm running 2.x, but since 95 is based on 2.x, the following should work.
I do what you're asking with netscape (and other apps), defined as a
button under FvwmButtons:
##################
Style "Netscape" NoIcon
AddToFunc NetscapeFunction "I" Next [Netscape] Iconify 1
+ "I" Next [Netscape] Iconify -1
+ "I" Next [Netscape] Focus
+ "I" None [Netscape] Exec netscape -install
*FvwmButtons "" mini.netscape.xpm NetscapeFunction
##################
I'm not sure the NoIcon is necessary. Anyway, the key is to force
iconification (`Iconify 1') first, so that when the window is de-iconified
(`Iconify -1'), it's brought up in the current window. Admittedly, this
is sort of a hack. Ideally, I suppose it would be best if WindowDesk did
the same thing, but that doesn't appear to be an option.
If anyone has a better (more elegant) solution, I'd love to hear it.
--
Rob Lowrie \ Los Alamos National Laboratory
lowrie_at_lanl.gov \ Scientific Computing, CIC-19, MS B256
http://www.c3.lanl.gov/~lowrie/ \ Los Alamos, NM 87545 USA
--
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 Thu Jun 12 1997 - 16:00:23 BST