mirror of
https://github.com/0intro/wmii
synced 2024-11-26 07:39:37 +03:00
updated enqueue condition
This commit is contained in:
parent
eccba17195
commit
4accad27fc
@ -1486,7 +1486,7 @@ write_event(char *event, Bool enqueue)
|
||||
written++;
|
||||
}
|
||||
}
|
||||
if(!written) {
|
||||
if(enqueue && !written) {
|
||||
queue = (char **)cext_array_attach((void **)queue, strdup(event), sizeof(char *), &queuesz);
|
||||
nqueue++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user