When a non-focused client exits (e.g. through a signal) then awesome crashes. The attached patch fixes this for me. Cheers. \n\n