Hello,

is it possible to limit the movement of a window to the area defined by 
EWMHBaseStrut?

Some details: I've got a FvwmTaskBar at the top of my desk and define the 
working area with the following commands:

AddToFunc StartFunction
   + I Module FvwmTaskBar
   + I Wait FvwmTaskBar
   + I Next (FvwmTaskBar, CirculateHit) EwmhBaseStruts 0 0 $[w.height] 0

Style "FvwmTaskBar" !Title,!Handles,BorderWidth 
4,Sticky,StaysOnTop,WindowListSkip,CirculateSkip,ClickToFocusPassesClick
*FvwmTaskBar: Geometry +0+0
*FvwmTaskBar: UseSkipList
*FvwmTaskBar: AutoStick
*FvwmTaskBar: StartName
*FvwmTaskBar: StartIcon taskbar_icon.xpm
*FvwmTaskBar: StartCommand Menu StartMenu Rectangle $widthx$height+$left+$top 0 
+100
*FvwmTaskBar: NoBrightFocus
*FvwmTaskBar: TipsColorset 16
*FvwmTaskBar: Colorset 17
*FvwmTaskBar: FocusColorset 18
*FvwmTaskBar: IconColorset 19
*FvwmTaskBar: Pad 0
*FvwmTaskBar: ClockFormat %H:%M
*FvwmTaskBar: UpdateInterval 60

The window placement and e.g. maximizing works perfectly and honors the working 
area but a window can be moved under the taskbar rendering the title bar 
unusable. The windows can be moved partly from the desk on all sides too. Is 
there a possibility to "stop" the window before crossing the boundaries of the 
working area?

Thanks a lot!


Chris

SHS SERVICES GmbH - Informatik 
Hofstattstraße 106a 
D-66333 Völklingen  

phone: +49 6898 10 4987 
fax: +49 6898 10 54987 
www: http://www.shsservices.org/

SHS SERVICES GmbH, Firmensitz: Bismarckstrasse 145, 66333 Völklingen 
Registergericht: Amtsgericht Saarbrücken HRB 14092 
Geschäftsführer: Martin Baues, Dr. Bernd Luxenburger

Reply via email to