Maximizing windows with free space at top

I have laptop with a broken LCD, it lacks the first 27pixel rows, these usually cover the titlebar of normally-maximized windows. Having a window maximized with some free space at the bottom is an easy task, for free space at the top, i use the following:

AddToFunc RvMaximize
+ I Maximize 100 -27p
+ I Current (Maximized) Move 0p 27p

The "Maximized" condition is needed for de-maximizing. The window should take its original location back, instead of getting moved to +0+27.

Alternatively, you can define screen borders using the EwmhBaseStruts command in FVWM 2.5.X -- this has the added advantage of working with dockars like gnome panel, kicker, etc.

EwmhBaseStruts 0 0 27 0