Re: FVWM: Shuffle

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Thu, 7 Mar 2002 21:36:22 +0000

On 07 Mar 2002 12:45:21 +0100, Marcus Lundblad wrote:
>
> I tried to implement funcions for window shuffling.
> What I would like is a function "Shuffle up" that brings the bottom window
> to the top and a function "Shuffle down" that brings the topmost window to
> the bottom. This would be within the current desk (could be optional).
>
> What I have come up with is this:
>
> Key Up A M Next [CurrentPage] SwitchWindow
> Key Down A M Prev [CurrentPage] SwitchWindo
>
> AddToFunc SwitchWindow
> + I Focus
> + I Raise
> + I WarpToWindow 50 50
>
> This is is more like the famous "Alt-Tab" (of "another" GUI...)
>
> I tried to search for "Layer" in the man-page. I found commands to change
> the layer of the current window. Though with sloppy focus, the active
> window is not nessarily on top.
>
> I guess the solution is quite simple, though I can seem to find it...

I don't exactly understand how it should behave, "shuffle" may be
understood differently. Try to play with (Raised) condition, like:

  Next ( Raised) Lower
  Next (!Raised) Raise

There is no (Lowered) condition. Also see this similar message:

  http://www.hpc.uh.edu/fvwm/archive/0202/msg00259.html

Regards,
Mikhael.
--
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 Thu Mar 07 2002 - 15:36:45 GMT

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