Support keyboard led indicator on wayland as well

This commit is contained in:
dec05eba
2025-11-08 03:28:18 +01:00
parent 0995e86e89
commit d1f8db3760
12 changed files with 282 additions and 47 deletions

View File

@@ -522,8 +522,8 @@ namespace gsr {
}
}
if(x11_dpy)
led_indicator = std::make_unique<LedIndicator>(x11_dpy);
// TODO: Only do this if led indicator is enabled (at startup or when changing recording/screenshot settings to enabled it)
led_indicator = std::make_unique<LedIndicator>();
}
Overlay::~Overlay() {