ratbagd: use correct enum type (#464)

RATBAG_RESOLUTION_CAP_SEPARATE_XY_RESOLUTION is a part of
ratbag_resolution_capability.
This commit is contained in:
Thomas H. P. Andersen
2018-03-19 01:12:34 +01:00
committed by Peter Hutterer
parent 6fa6e18408
commit b474e76ac2

View File

@@ -252,7 +252,7 @@ ratbagd_resolution_set_resolution(sd_bus *bus,
{
struct ratbagd_resolution *resolution = userdata;
struct ratbag_resolution *lib_resolution = resolution->lib_resolution;
const enum ratbag_device_capability cap = RATBAG_RESOLUTION_CAP_SEPARATE_XY_RESOLUTION;
const enum ratbag_resolution_capability cap = RATBAG_RESOLUTION_CAP_SEPARATE_XY_RESOLUTION;
int xres, yres;
int r;