mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
clutter-backend: Default to scale 1
So we at least don't trigger assertions for invalid scales of zero. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2957 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1349
This commit is contained in:
parent
2f1f47d257
commit
dbff32ec5c
@ -601,6 +601,8 @@ clutter_backend_init (ClutterBackend *self)
|
|||||||
self->units_serial = 1;
|
self->units_serial = 1;
|
||||||
|
|
||||||
self->dummy_onscreen = NULL;
|
self->dummy_onscreen = NULL;
|
||||||
|
|
||||||
|
self->fallback_resource_scale = 1.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user