mirror of
https://github.com/brl/mutter.git
synced 2025-08-07 00:54:42 +00:00
clutter: Change stage view scale to be float
To support fractional scaling, change the stage view scale to be a float instead of an int. Also change the places where it is retrieved and used when scaling things. https://bugzilla.gnome.org/show_bug.cgi?id=765011
This commit is contained in:
@@ -1743,7 +1743,7 @@ meta_renderer_native_create_view (MetaRenderer *renderer,
|
||||
|
||||
view = g_object_new (META_TYPE_RENDERER_VIEW,
|
||||
"layout", &logical_monitor->rect,
|
||||
"scale", scale,
|
||||
"scale", (float) scale,
|
||||
"framebuffer", onscreen,
|
||||
"offscreen", offscreen,
|
||||
"logical-monitor", logical_monitor,
|
||||
|
Reference in New Issue
Block a user