WineX11.drv: Add an X11 window for the client area [attempt3]

Alexandre Julliard julliard at winehq.org
Tue Dec 25 14:11:46 CST 2007


"Roderick Colenbrander" <thunderbird2k at gmx.net> writes:

> Is it enough to check if the dimensions changed or should I also care
> about the position? (I don't think it changes)

Position can definitely change too.

> What's the problem in X11DRV_SetWindowPos? I have checked valid_rects
> there but the contents of the two rects stored in it look ok to
> me. They seem to contain the current and previous location of the
> whole window (the location of where the window starts ignoring the
> border added by the WM). What should be done in this part of the code?

Since the client window is moved with NorthwestGravity, the valid rects
have to be computed relative to the client, not the whole window. The
client can move relative to the whole window.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list