mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 17:45:58 +01:00
parent
25964e5a2b
commit
c951c4f8a1
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ std::string IKeyboard::getActiveLayout() {
|
||||||
void IKeyboard::updateLEDs() {
|
void IKeyboard::updateLEDs() {
|
||||||
auto keyboard = wlr();
|
auto keyboard = wlr();
|
||||||
|
|
||||||
if (keyboard->xkb_state == nullptr)
|
if (!keyboard || keyboard->xkb_state == nullptr)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
uint32_t leds = 0;
|
uint32_t leds = 0;
|
||||||
|
|
Loading…
Reference in a new issue