Patch to add lockfile handling to prevent multiple invocations of lxsession-logout per lxsession process. Also ensures that lxsession-logout properly terminates on destruction of window with Alt-F4 to ensure lock is freed.
Apply inside top level directory
Here is the same patch, which can be applied to master.
Thanks. Looks good, apply in git.