Hi,
2015-09-15 18:54 GMT+02:00 Andrei Borzenkov
15.09.2015 19:21, Francesco Montesano пишет:
The session management correctly restores what was running before logout. But if one program offers the option, via configuration file or some menu, to not autostart, I think that the code should respect the decision and exit if autostart==false and the code has been restored by the session manager.
sorry, with "code" I meant "program"
Restoring saved session has absolutely nothing to do with autostart. And how session manager should know whether application was autostarted or not in the first place?
I meant the other way: an application might know if it's started by the session manager. A number of kde applications, like kmix, are restarted by the session manager with a command like: /usr/bin/kmix -session 102171ef12af6000143348832000000018960010_1442310151_875410 In this case I guess that the application knows that is started by the session manager and if it has an autostart option it should honor it, shutting itself down. Fra
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org