Remove-child callback will not handle output cons
Patch status: needinfo
Patch by Tony Crisci
Every container 'above' (in the hierarchy) the workspace content should not be closed when the last child was removed. Test whether the container is 'above' workspace content by calling `con_get_workspace` and seeing if it is null. This test is more robust than checking if the container is an output, the root, or a dockarea because it includes output "container cons" which should not be handled. Fixes an issue that caused output "container cons" to become urgent when the output is killed with RandR.
To apply this patch, use:
curl http://cr.i3wm.org/patch/320/raw.patch | git am