mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
Wayland: Set default font DPI to 96
Otherwise the units test fails, since the default DPI is set to -1. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
1c7a740385
commit
978202aa49
@ -176,6 +176,8 @@ clutter_backend_wayland_post_parse (ClutterBackend *backend,
|
|||||||
_clutter_event_source_wayland_new (backend_wayland->wayland_display);
|
_clutter_event_source_wayland_new (backend_wayland->wayland_display);
|
||||||
g_source_attach (backend_wayland->wayland_source, NULL);
|
g_source_attach (backend_wayland->wayland_source, NULL);
|
||||||
|
|
||||||
|
g_object_set (clutter_settings_get_default (), "font-dpi", 96 * 1024, NULL);
|
||||||
|
|
||||||
/* XXX: We require the device manager to exist as soon as we connect to the
|
/* XXX: We require the device manager to exist as soon as we connect to the
|
||||||
* compositor and setup an event handler because we will immediately be
|
* compositor and setup an event handler because we will immediately be
|
||||||
* notified of the available input devices which need to be associated with
|
* notified of the available input devices which need to be associated with
|
||||||
|
Loading…
Reference in New Issue
Block a user