gskill: init the DPI list correctly

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-10-16 17:46:20 +10:00
committed by Benjamin Tissoires
parent 9b7d8f5f24
commit d167dfd83b

View File

@@ -997,6 +997,9 @@ gskill_read_resolutions(struct ratbag_profile *profile,
ratbag_resolution_set_cap(resolution,
RATBAG_RESOLUTION_CAP_SEPARATE_XY_RESOLUTION);
ratbag_resolution_set_dpi_list_from_range(resolution,
GSKILL_MIN_DPI, GSKILL_MAX_DPI);
}
}