On Mon, May 19, 2008 at 10:38:55AM +0100, Chris G wrote:
> On Mon, May 19, 2008 at 08:53:24AM +0100, Thomas Adam wrote:
> > On 19/05/2008, Chris G <[EMAIL PROTECTED]> wrote:
> > > On Sun, May 18, 2008 at 10:31:54PM +0100, Thomas Adam wrote:
> > > > On Sun, 18 May 2008 22:24:42 +0100
> > > > Chris G <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > How do I make SnapGrid (well, Style * SnapGrid) work only to the
> > > edges
> > > > > of the screen? No, that's not quite what I meant.
> > > > >
> > > > > Is it possible to get windows to snap to the edges of the screen when
> > > > > they are within (say) 10 pixels of the edge, i.e. can I get it to
> > > work
> > > > > like SnapAttraction does?
> > > >
> > > > Your question is weird. What is it SnapAttraction isn't doing (which
> > > > would solve your proble, by the way) that you think SnapGrid needs to
> > > > do? You've effectively answered your own question:
> > > >
> > > > Style foo SnapAttraction foo Screen
> > > >
> > >
> > > Ah, maybe I'm misunderstanding what SnapGrid and SnapAttraction do.
> > >
> > > I have:-
> > >
> > > Style * SnapAttraction 10
> > >
> > >
> > > which does what I want between windows, when they're within 10 pixels
> > > of each other they 'snap' together. What I'd like is for the same
> > > thing to happen at the edges of the screen/desktop.
> >
> > I've just given you the answer. :)
> >
> > Style * SnapAttraction 10 Screen
> >
> Ah, oops, I understand now! :-)
>
> However it doesn't seem to be working, I have the following in my
> .fvwm2rc file:-
>
> Style * SnapAttraction 10 Screen
>
I found the problem, a typo basically, it should be:-
Style * SnapAttraction 10 All Screen
--
Chris Green