forked from external/yambar
module/xkb: initialize indicators
This fixes a bug where we tried to free invalid indicator names.
This commit is contained in:
parent
452c4b6015
commit
8d1afd027b
1 changed files with 2 additions and 0 deletions
|
@ -647,6 +647,8 @@ xkb_new(struct particle *label)
|
|||
m->current = 0;
|
||||
m->layouts.count = 0;
|
||||
m->layouts.layouts = NULL;
|
||||
m->indicators.count = 0;
|
||||
m->indicators.names = NULL;
|
||||
m->caps_lock = false;
|
||||
m->num_lock = false;
|
||||
m->scroll_lock = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue