mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
compositor: Don't assume we're a Wayland compositor
This commit is contained in:
parent
8d5ab6b5b3
commit
29197d40c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user