Re: move/resize handling again



On Tue, Nov 12, 2002 at 12:18:06AM +0100, Matthias Clasen wrote: 
> move, resize: in the move step, the window doesn't change its position,
> so we end up with the same result as for the resize alone: frame origin
> 35, 35.
> 
> resize, move: after the resize step, we have window origin 40, 40, size
> 110, 110, frame origin 35, 35, size 120, 120. Now we do a move to 55,
> 55. First calculate the new reference point as 165, 165. Now move the
> frame reference point there. The result is a frame origin of 45, 45.   
> 

Ouch, so question is, are apps moving assuming that the window has the
old size, or assuming that the window has the new size?

Neither one is obviously right to me.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]