all repos — openbox @ e5afb0db59cdeaa35ae2f67cf40589bc6d197022

openbox fork - make it a bit more like ryudo

only load the session from file if a file was provided
Dana Jansens danakj@orodu.net
commit

e5afb0db59cdeaa35ae2f67cf40589bc6d197022

parent

36056a69d75310eb6405d0fd668627eb9f6489bd

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M openbox/openbox.copenbox/openbox.c

@@ -134,7 +134,8 @@ exit_with_error("Failed to open the display.");

if (fcntl(ConnectionNumber(ob_display), F_SETFD, 1) == -1) exit_with_error("Failed to set display as close-on-exec."); - session_load(sm_save_file); + if (sm_save_file) + session_load(sm_save_file); session_startup(argc, argv); #ifdef USE_LIBSN