backends: Make pointer cursor invisible until the stage is shown

We are able to show the cursor before that, it doesn't mean we should.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:
Carlos Garnacho
2020-10-28 19:41:40 +01:00
committed by Marge Bot
parent fb2440a1cf
commit efc1592d4d
2 changed files with 12 additions and 1 deletions

View File

@ -196,7 +196,7 @@ meta_cursor_tracker_init (MetaCursorTracker *tracker)
MetaCursorTrackerPrivate *priv =
meta_cursor_tracker_get_instance_private (tracker);
priv->is_showing = TRUE;
priv->is_showing = FALSE;
priv->x = -1.0;
priv->y = -1.0;
}