forked from drath/libratbag
gskill: init the DPI list correctly
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Benjamin Tissoires
parent
9b7d8f5f24
commit
d167dfd83b
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user