fix reloadconfig segmentation fault
needed because keys arrays is freed so we can't access it again
This commit is contained in:
parent
3f203e3327
commit
3a6cd243e4
3
event.c
3
event.c
|
@ -289,7 +289,10 @@ handle_event_keypress(XEvent * e, awesome_config *awesomeconf)
|
|||
for(k = awesomeconf[screen].keys; k; k = k->next)
|
||||
if(keysym == k->keysym && k->func
|
||||
&& CLEANMASK(k->mod, awesomeconf[screen]) == CLEANMASK(ev->state, awesomeconf[screen]))
|
||||
{
|
||||
k->func(&awesomeconf[screen], k->arg);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue