Commit 29197d40 authored by Jasper St. Pierre's avatar Jasper St. Pierre

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

parent 8d5ab6b5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment