Yes.  It's in "freeglut_window.c" around line 517, in the Windows-specific "fgOpenWindow" code.  You will find similar code in "freeglut_main.c" around line 124, again Windows-specific.  (We really should combine the two.)

In both places the width and height are being increased by the border sizes to make them X-compatible.  Sorry, but this is a blind alley.

John F. Fay
john.fay@eglin.af.mil
850-729-6330
-----Original Message-----
From: freeglut-developer-admin@lists.sourceforge.net [mailto:freeglut-developer-admin@lists.sourceforge.net] On Behalf Of Steve Baker

Sent: Friday, October 15, 2004 4:00 PM
To: freeglut-developer@lists.sourceforge.net
Subject: Re: [Freeglut-developer] RE: [Freeglut-bugs] freeglut_window.c problem

Richard Rauch wrote:
> On Fri, Oct 15, 2004 at 01:42:57PM -0600, Brian Paul wrote:
>
>>I'd check that you're not trying to set a window width or height to
>>zero - that's illegal.
>
>
> Hm.  That makes sense, but why would it work for him locally, but not
> remotely?  Unless he's using computer window sizes based on border
> widths and screen dimensions...

Isn't there some code somewhere in freeglut that attempts to resolve
a problem with the window size with and without borders in Windows
and Linux?   I vaguely recall that someone patched something to do
with window sizes in order to fix that.

If that patch entailed subtracting something from the window size to
compensate for the borders - then we could very well end up with a
zero-sized window if the border thicknesses were different on the
two systems.

Does anyone remember anything about that?

---------------------------- Steve Baker -------------------------
HomeEmail: <sjbaker1@airmail.net>    WorkEmail: <sjbaker@link.com>
HomePage : http://www.sjbaker.org
Projects : http://plib.sf.net    http://tuxaqfh.sf.net
            http://tuxkart.sf.net http://prettypoly.sf.net
-----BEGIN GEEK CODE BLOCK-----
GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M-
V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++
-----END GEEK CODE BLOCK-----



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freeglut-developer