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
1 changed files with 2 additions and 0 deletions
|
@ -601,6 +601,8 @@ clutter_backend_init (ClutterBackend *self)
|
|||
self->units_serial = 1;
|
||||
|
||||
self->dummy_onscreen = NULL;
|
||||
|
||||
self->fallback_resource_scale = 1.f;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue