From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id FAA07491; Wed, 12 May 2004 05:20:45 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA07136 for ; Wed, 12 May 2004 05:20:43 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from localhost (cpe-68-118-245-40.ma.charter.com [68.118.245.40]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4C3KgEV024248 for ; Wed, 12 May 2004 05:20:43 +0200 Received: from awwaiid by localhost with local (Exim 3.36 #1 (Debian)) id 1BNkIW-0001ab-00 for ; Tue, 11 May 2004 23:20:44 -0400 Date: Tue, 11 May 2004 23:20:44 -0400 From: Brock To: caml-list@inria.fr Subject: [Caml-list] x-windows screensaver in OCaml Message-ID: <20040512032044.GB3494@thelackthereof.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Miltered: at nez-perce with ID 40A1980A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; x-windows:99 --brock:01 ocaml:01 ocaml:01 primitives:01 module:03 i'd:06 root:07 root:07 built-in:09 x's:10 rbw:13 write:14 means:15 don't:16 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk So one of these days I'd like to write a screensaver in OCaml for xscreensaver, which means drawing on X's root window. Any suggestions for a super-simple way to do this? The primitives in the built-in Graphics module are plenty for my needs, I just don't know how make it appear on the root window. Thanks, --Brock ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners