Huw D M Davies <[EMAIL PROTECTED]> writes:

> Well what's happening is that in managed mode GetDCEx( DCX_WINDOW)
> gets a dc with its top starting at the bottom of the window
> decoration. The apps assumes that the top is the top of the caption
> and starts drawing on it, so everything appears a caption height too
> low.  Maybe what we should do is to set dc->OrgY to -(caption height).

This was already discussed a few months ago; the right fix is to make
the window rectangle (returned by GetWindowRect) distinct from the X
window rectangle. Then the differences between the two rectangles can
be handled entirely in the x11drv, and all the rest of the code can
work with the window rectangle without worrying whether the window is
managed or not.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to