X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Frestart.c;h=47f332b184ee9cd4f04c45aa8855550ab4af47f6;hb=700b2c0aec0663249e39333b24de02f249f70267;hp=0afe8bf016c68f9415b9095deb7ff3fdb7c78cf5;hpb=fdabb69f4f25596df972caa76c85c2aeba26226e;p=chaz%2Fopenbox diff --git a/openbox/actions/restart.c b/openbox/actions/restart.c index 0afe8bf0..47f332b1 100644 --- a/openbox/actions/restart.c +++ b/openbox/actions/restart.c @@ -1,5 +1,6 @@ #include "openbox/actions.h" #include "openbox/openbox.h" +#include "obt/paths.h" typedef struct { gchar *cmd; @@ -25,7 +26,7 @@ static gpointer setup_func(xmlNodePtr node) (n = obt_parse_find_node(node, "execute"))) { gchar *s = obt_parse_node_string(n); - o->cmd = parse_expand_tilde(s); + o->cmd = obt_paths_expand_tilde(s); g_free(s); } return o;