1
0
forked from drath/libratbag

Fix missing nres assignments

For directly set resolution lists, nres remained at 0

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

View File

@@ -525,6 +525,7 @@ ratbag_resolution_set_dpi_list(struct ratbag_resolution *res,
if (i > 0)
assert(dpis[i] > dpis[i - 1]);
}
res->ndpis = ndpis;
}
static inline void