diff --git a/configure.ac b/configure.ac index b0e3cc15a..d9abba5a3 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ MUTTER_PC_MODULES=" cairo >= 1.10.0 gsettings-desktop-schemas >= 3.7.3 xcomposite >= 0.2 xfixes xrender xdamage xi >= 1.6.0 - $CLUTTER_PACKAGE >= 1.13.5 + $CLUTTER_PACKAGE >= 1.14.3 cogl-1.0 >= 1.13.3 " diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index dbaaca2d5..f13094786 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -514,20 +514,20 @@ meta_check_end_modal (MetaScreen *screen) { meta_end_modal_for_plugin (screen, compositor->modal_plugin, - CurrentTime); + + CurrentTime); } } -static gboolean -after_stage_paint (gpointer data) +static void +after_stage_paint (ClutterStage *stage, + gpointer data) { MetaCompScreen *info = (MetaCompScreen*) data; GList *l; for (l = info->windows; l; l = l->next) meta_window_actor_post_paint (l->data); - - return TRUE; } static void @@ -608,9 +608,10 @@ meta_compositor_manage_screen (MetaCompositor *compositor, info->stage = clutter_stage_new (); - clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT, - after_stage_paint, - info, NULL); + clutter_stage_set_paint_callback (CLUTTER_STAGE (info->stage), + after_stage_paint, + info, + NULL); clutter_stage_set_sync_delay (CLUTTER_STAGE (info->stage), META_SYNC_DELAY);