mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
Fix setting the capability flags on the resolutions
2 hours of debugging... ffs Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Filipe Laíns
parent
e2cbaf9dea
commit
11c1e2d71a
@@ -571,7 +571,7 @@ ratbag_resolution_set_cap(struct ratbag_resolution *res,
|
||||
{
|
||||
assert(cap <= RATBAG_RESOLUTION_CAP_SEPARATE_XY_RESOLUTION);
|
||||
|
||||
res->capabilities = (1 << cap);
|
||||
res->capabilities |= (1 << cap);
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
||||
Reference in New Issue
Block a user