mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
cursor-renderer: Kill a warning
This can happen during early initialization. We should have a better initialization plan.
This commit is contained in:
parent
168ede9374
commit
e21677c782
@ -236,6 +236,10 @@ queue_redraw (MetaCursorRenderer *renderer)
|
||||
|
||||
g_assert (meta_is_wayland_compositor ());
|
||||
|
||||
/* During early initialization, we can have no stage */
|
||||
if (!stage)
|
||||
return;
|
||||
|
||||
/* Clear the location the cursor was at before, if we need to. */
|
||||
if (priv->previous_is_valid)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user