compositor: Don't assume we're a Wayland compositor

This commit is contained in:
Jasper St. Pierre 2013-12-05 15:39:40 -05:00
parent 8d5ab6b5b3
commit 29197d40c6

View File

@ -638,7 +638,8 @@ after_stage_paint (ClutterStage *stage,
for (l = info->windows; l; l = l->next)
meta_window_actor_post_paint (l->data);
meta_wayland_compositor_paint_finished (meta_wayland_compositor_get_default ());
if (meta_is_wayland_compositor ())
meta_wayland_compositor_paint_finished (meta_wayland_compositor_get_default ());
}
static void