strdup the exec path cuz it gets freed by the time we restart otherwise
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
openbox/action.c
→
openbox/action.c
@@ -1118,7 +1118,7 @@ }
void action_restart(union ActionData *data) { - ob_restart_path = data->execute.path; + ob_restart_path = g_strdup(data->execute.path); ob_shutdown = ob_restart = TRUE; }