[ANNOUNCEMENT] Server Test 73
Harold L Hunt II
Wed Jan 22 19:00:00 GMT 2003
Okay, bug fixed. The problem was that we were not checking if the Windows
window handle (hwnd) was valid (i.e., not NULL) before calling the functions
GetWindowRect and GetClientRect. Of course, I was not checking the return
value from those functions either. The functions failed and returned bogus
values, which I then calculated a huge negative offset for the Window region
from. I then passed a rectangle with negative coords to CombineRgn and it
flipped out. Now we just return without doing anything if the Windows
window has not been created yet. This will be in the next test release.
[mailto:firstname.lastname@example.org]On Behalf Of Harold L Hunt II
Sent: Wednesday, January 22, 2003 11:34 AM
Subject: Re: [ANNOUNCEMENT] Server Test 73
I noticed those once in awhile on my system as well. That is due to the
X Shape Extension hack. However, I am not sure why CreateRectRgn is
failing... I think that CombineRgn failing is a side-effect of
CreateRectRgn failing. I might just turn off the messages... or maybe I
will make them more detailed.
Colin Harrison wrote:
> Minor observation.
> In -multiwindow -clipboard
> When xeyes is run, the background is now transparent (I had to use
xsetroot on one of the earlier multi builds)
> However, I'm getting loads of:-
> winReshape - CreateRectRgn () failed
> winReshape - CombineRgn () failed
> messages in my XWinrl.log file.
> (XP Pro 16 bit screen)
More information about the Cygwin-xfree