Path: utzoo!utgpu!attcan!uunet!zephyr.ens.tek.com!wrgate!teklds!tims From: tims@teklds.CAE.TEK.COM (Tim Stoehr) Newsgroups: comp.windows.x Subject: How do I make a full-screen window? Message-ID: <5019@teklds.CAE.TEK.COM> Date: 11 Aug 89 23:18:40 GMT Distribution: na Organization: Tektronix Inc., Beaverton, Or. Lines: 13 I need to make a window via XCreateSimpleWindow() that is as large as will fit on the display. I am currently using DisplayWidth() and DisplayHeight() to gather the screen size. However, passing these numbers to XCreateSimpleWindow() causes part of the window to bulge off the screen, since the width and height passed to XCreateSimpleWindow() only account for the inner drawable part of the window. The question is, how can I accurately account for the border width in X and Y dimemsions. I can't find anything that let's me know how thick the borders and title bar of a window are going to be. ---------- Tim Stoehr tims@teklds.CAE.TEK.COM