mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
Instead of copying them into our own struct, just query libratbag when we need them. This brings the resolution code in line with the button and LED code which don't do caching either. Eventually we may want to cache them again to detect changes behind your back (if libratbag value != our cached value) but for now this reduces the work ratbagd does. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>