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…
Add table
Add a link
Reference in a new issue