[ANNOUNCEMENT] Server Test 73

Harold L Hunt II huntharo@msu.edu
Wed Jan 22 19:00:00 GMT 2003


Colin,

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.

Harold

-----Original Message-----
From: cygwin-xfree-owner@cygwin.com
[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II
Sent: Wednesday, January 22, 2003 11:34 AM
To: cygwin-xfree@cygwin.com
Subject: Re: [ANNOUNCEMENT] Server Test 73


Colin,

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.

Harold

Colin Harrison wrote:
> Hi
>
> 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)
>
> Thanks
>
> Colin



More information about the Cygwin-xfree mailing list