mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
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:
committed by
Benjamin Tissoires
parent
366fbc3fda
commit
9b7d8f5f24
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user