mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 23:05: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() {
|
||||
auto keyboard = wlr();
|
||||
|
||||
if (keyboard->xkb_state == nullptr)
|
||||
if (!keyboard || keyboard->xkb_state == nullptr)
|
||||
return;
|
||||
|
||||
uint32_t leds = 0;
|
||||
|
|
Loading…
Reference in a new issue