jD91mZM2/xidlehook

xrandr defunct child process

Closed this issue · 3 comments

I saw several xrandr defunct child process of xidlehook but idk how to trace this problem, is there anything I can help or know why xidlehook spawn some dead xrandr processes?

This is probably because I never wait for processes to finish, but rather spawn them async (see src/main.rs#L345-L353). I need to hook the processes up to mio so I can get events whenever one of them dies. I'll do this once I get time!

Should be fixed in commit 1315fa9. Let me know if this works for you and I'll make a patch release

I think it work well now. thanks.