On Mon, Mar 31, 2003 at 09:58:58PM +0200, Mario Domgörgen wrote:
> Hej list,
>
> is there a way to move a window to the center of the screen? It seems i
> can only move the upper-left point of a window to center but *not*
> center the while window?
Try this:
AddToFunc move_to_center
+ I Piperead "echo move $(( ($[vp.width] - $[w.width]) / 2 ))p $(( ($[vp.height] - $[w.height]) / 2 ))p"
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Mon Mar 31 2003 - 19:19:55 BST