Making this an EasyHack with interesting difficulty: Code pointers: http://opengrok.libreoffice.org/xref/core/vcl/unx/generic/app/sm.cxx handles the Unix Session management http://opengrok.libreoffice.org/xref/core/sfx2/source/appl/shutdowniconunx.cxx is the quickstarter
The quickstarter vetos each and every request to kill the instance, but we want it to do that only when it is not the session manager that wants to kill the instance.
I will mentor this one, so ping me, if you have questions.
Making this an EasyHack with interesting difficulty: opengrok. libreoffice. org/xref/ core/vcl/ unx/generic/ app/sm. cxx handles the Unix Session management opengrok. libreoffice. org/xref/ core/sfx2/ source/ appl/shutdownic onunx.cxx is the quickstarter
Code pointers:
http://
http://
The quickstarter vetos each and every request to kill the instance, but we want it to do that only when it is not the session manager that wants to kill the instance.
I will mentor this one, so ping me, if you have questions.