lxqt / libqtxdg

Qt implementation of freedesktop.org xdg specs
https://lxqt.github.io
GNU Lesser General Public License v2.1
72 stars 35 forks source link

xdgdesktopfile: Allow non-detach starting #244

Closed palinek closed 3 years ago

palinek commented 3 years ago

Allow runtime overriding of detachment of processes by setting the QTXDG_START_DETACH_TRULY. Default value is true [1]. With this the application (using libqt5xdg) can correctly send termination signal to child processes on the application exit.

palinek commented 3 years ago

With this we can help applications started by lxqt-session/panel/runner to quit gracefully.

Ref. e.g. -> https://github.com/pvanek/qlipper/issues/34#issuecomment-248535444

tsujan commented 3 years ago

With this we can help applications started by lxqt-session/panel/runner to quit gracefully.

It'll be very useful because apps may save some of their settings (window size, cursor position, etc.) when they exit.