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 -- Thomas Adam