a02e20a14a
* clutter/clutter-actor.c: (clutter_actor_real_show), (clutter_actor_real_hide): Do not set the MAPPED flag on the actor if it is a top-level one (like ClutterStage); the backends are responsible for setting that flag, as it might be the result of an asynchronous operation (e.g. on X11). * clutter/eglnative/clutter-stage-egl.c: (clutter_stage_egl_show), (clutter_stage_egl_hide): Set/unset the CLUTTER_ACTOR_MAPPED flag on show and hide respectively. * clutter/osx/clutter-stage-osx.c: (clutter_stage_osx_show), (clutter_stage_osx_hide): Ditto as above. * clutter/sdl/clutter-stage-sdl.c: (clutter_stage_sdl_show), (clutter_stage_sdl_hide): Ditto as above, plus chain up to the parent class show/hide virtual functions. * clutter/x11/clutter-event-x11.c (event_translate): Use the MapNotify and UnmapNotify events to call the X11 stage map/unmap functions. * clutter/x11/clutter-stage-x11.[ch]: (clutter_stage_x11_set_fullscreen): Set the fullscreen_on_map flag with the fullscreen value. (clutter_stage_x11_map), (clutter_stage_x11_unmap): Set the MAPPED flag on the stage actor and redraw; also, if the fullscreen_on_map flag was set, call clutter_stage_fullscreen() as well. (#648) * tests/Makefile.am: * tests/test-fullscreen.c: Add a fullscreen test case for checking whether fullscreen works on every backend/platform.
35 lines
1.4 KiB
Makefile
35 lines
1.4 KiB
Makefile
noinst_PROGRAMS = test-textures test-events test-offscreen test-scale \
|
|
test-actors test-behave test-text test-entry test-project \
|
|
test-boxes test-perspective test-rotate test-depth \
|
|
test-threads test-timeline test-score test-script \
|
|
test-model test-grab test-effects test-fullscreen
|
|
|
|
INCLUDES = -I$(top_srcdir)/
|
|
LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.la
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS)
|
|
AM_LDFLAGS = $(CLUTTER_LIBS)
|
|
|
|
test_textures_SOURCES = test-textures.c
|
|
test_events_SOURCES = test-events.c
|
|
test_offscreen_SOURCES = test-offscreen.c
|
|
test_scale_SOURCES = test-scale.c
|
|
test_actors_SOURCES = test-actors.c
|
|
test_grab_SOURCES = test-grab.c
|
|
test_behave_SOURCES = test-behave.c
|
|
test_text_SOURCES = test-text.c
|
|
test_entry_SOURCES = test-entry.c
|
|
test_project_SOURCES = test-project.c
|
|
test_boxes_SOURCES = test-boxes.c
|
|
test_perspective_SOURCES = test-perspective.c
|
|
test_rotate_SOURCES = test-rotate.c
|
|
test_depth_SOURCES = test-depth.c
|
|
test_threads_SOURCES = test-threads.c
|
|
test_timeline_SOURCES = test-timeline.c
|
|
test_score_SOURCES = test-score.c
|
|
test_script_SOURCES = test-script.c
|
|
test_model_SOURCES = test-model.c
|
|
test_effects_SOURCES = test-effects.c
|
|
test_fullscreen_SOURCES = test-fullscreen.c
|
|
|
|
EXTRA_DIST = redhand.png test-script.json
|