Re: FVWM: warp-or-run with multiple windows

From: <chrisl_at_cybercom.net>
Date: Fri, 13 Dec 1996 14:58:44 -0500 (EST)

On 13 Dec, Richard Everson wrote:
> AddToFunc warp-or-run "I" Next [$0 CirculateHit] Iconify -1
> + "I" Next [$0 CirculateHit] Focus
> + "I" None [$0] $1
>
> If the xemacs has multiple frames (windows) on different desktops the
> original xemacs frame is raised and the desktop is changed to the
> desktop holding the original frame.
> I would much prefer to raise the xemacs frame on the current desk.
> Does anyone know how to achieve this?

Try this:

AddToFunc warp-current-desk-or-run
+ I Next [$0 CirculateHit CurrentDesk] Iconify -1
+ I Next [$0 CirculateHit CurrentDesk] Focus
+ I None [$0 CirculateHit CurrentDesk] $1

You might also want to try CurrentScreen instead of CurrentDesk.

--Xris

-- 
genius, n.:
        Person clever enough to be born in the right place at the right
        time of the right sex and to follow up this advantage by saying
        all the right things to all the right people.
Chris "Xris" Laas, Global Dictator in the making.
When I have attained my glorious destiny, I will have my own domain.
Until then, you can reach me at chrisl_at_cybercom.net.
--
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 Fri Dec 13 1996 - 14:03:12 GMT

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