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 AAA25797; Fri, 14 May 2004 00:54:09 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA26118 for ; Fri, 14 May 2004 00:54:07 +0200 (MET DST) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i4DMs7SH019469 for ; Fri, 14 May 2004 00:54:07 +0200 Received: from [80.229.56.224] (helo=chetara) by ptb-relay03.plus.net with esmtp (Exim) id 1BOP5a-0002SZ-Qn for caml-list@inria.fr; Thu, 13 May 2004 22:54:06 +0000 From: Jon Harrop Organization: University of Cambridge To: caml-list@inria.fr Subject: Re: [Caml-list] x-windows screensaver in OCaml Date: Thu, 13 May 2004 23:53:13 +0100 User-Agent: KMail/1.5.4 References: <20040512032044.GB3494@thelackthereof.org> In-Reply-To: <20040512032044.GB3494@thelackthereof.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405132353.13433.jdh30@cam.ac.uk> X-Miltered: at concorde with ID 40A3FC8F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 x-windows:99 2004:99 ocaml:01 ocaml:01 primitives:01 opengl:02 module:03 wrote:03 cheers:06 i'd:06 i'd:06 root:07 root:07 built-in:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wednesday 12 May 2004 04:20, Brock wrote: > 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. I'd suggest trying to replace the functionality of one of the existing OpenGL screensavers with your own code. Cheers, Jon. ------------------- 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