On Mon, 2008-02-18 at 14:35 +0100, Peter Šiška wrote:

> Is clutter able to paint without the window? To explain it in the
> detail... I would like to create some element directly on the screen
> without visible window. 
> Is there a possibility to do this? (Or use root window for painting?) 

yes, you can use the root window to paint on, with both the X11-based
backends (GLX and EGLX).

just use:

  stage = clutter_stage_get_default ();
  root_window = retrieve_the_root_window_from_X ();
  clutter_x11_set_stage_foreign (stage, root_window);

and it will Just Work(tm).

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, OpenedHand Ltd.
Unit R, Homesdale Business Centre
216-218 Homesdale Rd., Bromley - BR12QZ
http://www.o-hand.com

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to