Re: FVWM: limiting window movement to working area

2012-04-13 Thread JUNG, Christian
I've found a way to work around this messy FvwmEvent-stuff: Mouse 1 T A Function MoveWindow DestroyFunc MoveWindow AddToFunc MoveWindow + M Move + M PipeRead '[ $[w.x] -lt $[WORKAREA_LEFT_MARGIN] ] && echo Move $[WORKAREA_LEFT_MARGIN]p w0' + M PipeRead '[ $[w.y] -lt $[WORKAREA_TOP_MAR

Re: FVWM: limiting window movement to working area

2012-04-12 Thread Thomas Adam
On Thu, Apr 12, 2012 at 06:48:42PM +0200, Michael Großer wrote: > Thomas Adam wrote: > > On Thu, Apr 12, 2012 at 05:16:57PM +0200, JUNG, Christian wrote: > >> Hello, > >> > >> is it possible to limit the movement of a window to the area defined by > >> EWMHBaseStrut? > > > > The Move command hon

Re: FVWM: limiting window movement to working area

2012-04-12 Thread Thomas Adam
On Thu, Apr 12, 2012 at 10:53:23AM -0600, Jaimos F Skriletz wrote: > On 04/12/2012 09:23 AM, Thomas Adam wrote: > >I toyed with the idea of having wall-boundaries where windows > >couldn't be moved, but due to the way one can configure their > >DesktopSize, and flip between pages when resizing/movi

Re: FVWM: limiting window movement to working area

2012-04-12 Thread Jaimos F Skriletz
On 04/12/2012 09:23 AM, Thomas Adam wrote: I toyed with the idea of having wall-boundaries where windows couldn't be moved, but due to the way one can configure their DesktopSize, and flip between pages when resizing/moving windows, etc., soon came to the realisation it becomes impossible to gi

Re: FVWM: limiting window movement to working area

2012-04-12 Thread Michael Großer
Thomas Adam wrote: > On Thu, Apr 12, 2012 at 05:16:57PM +0200, JUNG, Christian wrote: >> Hello, >> >> is it possible to limit the movement of a window to the area defined by >> EWMHBaseStrut? > > The Move command honours the EWMH Working Area by default when used > NON-interactively, but for int

Re: FVWM: limiting window movement to working area

2012-04-12 Thread Thomas Adam
On Thu, Apr 12, 2012 at 05:16:57PM +0200, JUNG, Christian wrote: > Hello, > > is it possible to limit the movement of a window to the area defined by > EWMHBaseStrut? The Move command honours the EWMH Working Area by default when used NON-interactively, but for interactive moves, no. You're fre

FVWM: limiting window movement to working area

2012-04-12 Thread JUNG, Christian
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 Nex