mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
test-pixmap: Enable automatic updates for the hand
The hand actor has a feature that if you click on the stage it will draw a line to the actor. However it's not possible to see the results of this because automatic updates were disabled so the texture would never be updated.
This commit is contained in:
parent
f7dfc8caa4
commit
75f48ad0ec
@ -307,6 +307,8 @@ test_pixmap_main (int argc, char **argv)
|
||||
label = clutter_text_new_with_text ("fixed", "ClutterX11Texture (Pixmap)");
|
||||
clutter_container_add_actor (CLUTTER_CONTAINER (group), label);
|
||||
tex = clutter_x11_texture_pixmap_new_with_pixmap (pixmap);
|
||||
clutter_x11_texture_pixmap_set_automatic (CLUTTER_X11_TEXTURE_PIXMAP (tex),
|
||||
TRUE);
|
||||
clutter_container_add_actor (CLUTTER_CONTAINER (group), tex);
|
||||
clutter_actor_set_position (tex, 0, 20);
|
||||
clutter_texture_set_filter_quality (CLUTTER_TEXTURE (tex),
|
||||
|
Loading…
Reference in New Issue
Block a user