
#
# DESCRIPTION FILE FOR vtwm - $(HOME)/vtwm/vtwmrc-parms
#
# PRE-PROCESSED BY vtwm-5.4.6 USING m4
# 

#
# Parametered Variables
#

# Lower this if PrettyZoom used (see 'Booleans')...
#Zoom		150

UsePPosition	"off"

# This spec works when (count * scale < phys_size) in each dimension.
# The size is then (phys_size * count / scale + bevel * 2) in each dimension.
# -- It's best if the window sizes work out to exact whole numbers --
#
# This window is (1024 * 5 / 16 + 1 * 2) x (768 * 1 / 16 + 1 * 2) = 322 x 50.
#
# Use one of these (LLC or LRC) if you want it titled...
#VirtualDesktop		"5x1+5-30"	16
#VirtualDesktop		"5x1+690+685"	16
# Use one of these (LLC or LRC) if not...
#VirtualDesktop		"5x1+5-10"	16
#VirtualDesktop		"5x1+690+705"	16
#
# Using m4, calculate coordinates for most common phys_size dimensions.
#
# Horizontal and vertical screen counts, desktop scale...
define(VDhoriz, 5) define(VDvert, 1) define(VDscale, 16)
# Calculate the window dimensions...
define(VDwidth, eval(WIDTH * VDhoriz / VDscale + WMdesktopbevel * 2))
define(VDheight, eval(HEIGHT * VDvert / VDscale + WMdesktopbevel * 2))
# Calculate the window coordinates (this is for LRC)...
define(VDx, eval(WIDTH - (VDwidth + WMborder + WMpanborder) - 5))
define(VDy, eval(HEIGHT - (VDheight + WMborder + WMpanborder + WMdesktoptitle) - 5))
# Translate to an X geometry string (set VDx to WMpanborder for LLC)...
define(VDgeometry, translit(VDhoriz*VDvert+VDx+VDy, *, x))
# Set the resource...
VirtualDesktop		"VDgeometry"	VDscale

PanDistanceX		100
PanDistanceY		100
PanResistance		750
AutoPan			100
# Nice if 'NaturalAutoPanBehavior' is not used...
#AutoPanExtraWarp	30

MoveDelta		10

BorderWidth		WMborder
AutoPanBorderWidth	WMpanborder

