mirror of
https://github.com/brl/mutter.git
synced 2025-08-04 07:34:53 +00:00
logical-monitor: Make scale a float
To support fractional scaling, the logical monitor scale must be stored as a float. No other functional changes is part of this commit. https://bugzilla.gnome.org/show_bug.cgi?id=765011
This commit is contained in:
@@ -400,7 +400,7 @@ meta_monitor_manager_test_is_transform_handled (MetaMonitorManager *manager,
|
||||
return manager_test->handles_transforms;
|
||||
}
|
||||
|
||||
static int
|
||||
static float
|
||||
meta_monitor_manager_test_calculate_monitor_mode_scale (MetaMonitorManager *manager,
|
||||
MetaMonitor *monitor,
|
||||
MetaMonitorMode *monitor_mode)
|
||||
|
@@ -34,7 +34,7 @@ typedef struct _MetaMonitorTestSetup
|
||||
|
||||
typedef struct _MetaOutputTest
|
||||
{
|
||||
int scale;
|
||||
float scale;
|
||||
} MetaOutputTest;
|
||||
|
||||
#define META_TYPE_MONITOR_MANAGER_TEST (meta_monitor_manager_test_get_type ())
|
||||
|
Reference in New Issue
Block a user