Hi all,
I wanted to get the texture of a particular window(based on xwindow id). I
tried using this function clutter_x11_texture_pixmap_new_with_window (xwin);
But I am not getting the texture for the window properly. I mean sometimes I
get the complete texture, while sometimes I get the texture which is
blurred. Also, rarely I get a white blank texture for the window. Also, I
have confirmed that the window is mapped properly. All I am doing in my
program is as follows:
tex = clutter_x11_texture_pixmap_new_with_window (window_id);
clutter_actor_set_position (tex, 0, 0);
clutter_container_add_actor (CLUTTER_CONTAINER (stage), tex);
Why do I get such random behaviour? What will I have to do to get the
texture always right.
-Sourabh