Re: Move Windows between Viewports

Gerhard Siegesmund (gerhard.siegesmund@epost.de)
Sat, 20 Apr 2002 14:50:01 +0200



--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> Is it somehow possible to move windows inbetween viewports (meaning e.g. =
from
> actual viewport to viewport to the right) using the keyboard. At the mome=
nt I
> can define using ViewportX and ViewportY where a program should be
> started. But to put a window to another viewport I have to grab it with
> the mouse and move it to its destination by hand. I just want to move a
> window from one viewport to the same position on another viewport. I
> hope you understand what I mean. Any ideas?

Just after mailing to list I found a solution using Functions. The
following functions allow you to move the window around viewports

# Move windows between views

Function "Move-To-Right-View"
    Raise   "Immediate"
    Stick   "Immediate"
    Scroll  "Immediate"  +100 +0
    Stick   "Immediate"
EndFunction

Function "Move-To-Left-View"
    Raise   "Immediate"
    Stick   "Immediate"
    Scroll  "Immediate"  -100 +0
    Stick   "Immediate"
EndFunction

Function "Move-To-Lower-View"
    Raise   "Immediate"
    Stick   "Immediate"
    Scroll  "Immediate"  +0 +100
    Stick   "Immediate"
EndFunction

Function "Move-To-Upper-View"
    Raise   "Immediate"
    Stick   "Immediate"
    Scroll  "Immediate"  +0 -100
    Stick   "Immediate"
EndFunction

Just if someone needs this besides me... :-)

--=20
cu
  --=3D=3D Jerri =3D=3D--
Homepage:	http://www.jerri.de/   ICQ: 54160208

--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wWP3A5mPer8b7IwRAtp0AJ9GfIPmalgPlzbBSNDxO+TMFEdn7QCZAfU6
AKPAaonufE1swL2MHxFMM2s=
=F5Jz
-----END PGP SIGNATURE-----

--oyUTqETQ0mS9luUI--
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users