Re: [ILUG] Calling all X hackers

From: John P . Looney (valen at domain tuatha.org)
Date: Tue 14 Sep 1999 - 13:07:55 IST


On Thu, Sep 03, 1998 at 09:46:28PM +0100, kernel v2.2.5-15 mentioned:
>
> -----Original Message-----
> From: Stephen Shirley <diamond at domain csn.ul.ie>
> To: ilug at domain linux.ie <ilug at domain linux.ie>
> Date: 13 September 1999 17:29
> Subject: [ILUG] Calling all X hackers
>
>
> >Mornin',
> > I need to find out the size of the current desktop in pixels. Anyone
> >got any ideas how to go about this? I saw an WidthofScreen() function, but
> >that requires me to pass in a "screen", whatever that is.
> >
>
> havn't used it in quite some time, but as i can recall, xvidtune will tell
> ya the current dimensions of your desktop

 He's writing C code :)

 DefaultScreen(display) will return you the default screen (x is the screen
in hostname:0.x).

Kate

-- 
Microsoft. The best reason in the world to drink beer.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:33 GMT