> Huw D M Davies <h.davies1�physics.ox.ac.uk> 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.
Well. That solves only part of the problem. A very important part
for some applications but it still doesn't solve all applications
problems.
The problem concerning what should we do with draws in the non
client area is still unsolved. At least unless you consider
sending them to /dev/null (clipping them) as a solution.
When we have decided what to do the more difficult problems
HOW and WHERE still remains.