On Tue, May 30, 2006 at 11:11:11PM +0200, Dominik Vogt wrote: > On Mon, May 29, 2006 at 02:27:15PM -0700, Andrew Pimlott wrote: > > To resolve this issue, we must 1. decide whether the outline should > > initially appear snapped or unsnapped; > > Unsnapped. In case of moving a window, placing it before touching > the mouse should not move the window at all.
Hmm, I didn't really think about this case. However, I'm not sure that makes the most sense. Surely if you initiate a move, you want to put the window someplace other than where it was? And as soon as you move a single pixel (which most people would do without even meaning to, assuming they are using the mouse), the window will snap, causing a jarring discontinuity. I think I would rather have the snap happen right away. Anyhow, if we go with your answer, fixing the code is non-trivial. The whole event loop would probably need to be cleaned up. I don't think I'm up to doing it myself. Andrew