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
and nothing else with 'Snap' in it at all. I get the window to window
snap as expected but not the snap to the edge of the screen. I'm
pretty sure I *did* have this working so I have a suspicion I may have
changed something else which has stopped it working.
Do any other commands interact with the Snap ones? I've just tried
commenting out all my 'Edge****' commands but that hasn't made it work.
--
Chris Green