all repos — openbox @ 67e5cb217e62e61928a7c399148f7d4a0bcfee0b

openbox fork - make it a bit more like ryudo

removed the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)
Dana Jansens danakj@orodu.net
commit

67e5cb217e62e61928a7c399148f7d4a0bcfee0b

parent

897a9711d6dae63380ff86b7ecd85ce58c3f4b85

2 files changed, 0 insertions(+), 14 deletions(-)

jump to
M src/openbox.ccsrc/openbox.cc

@@ -175,7 +175,6 @@ sprintf(rc_file, "%s/.openbox/rc", homedir);

} else { rc_file = bstrdup(rc); } - symlink_rc(rc_file); config.setFile(rc_file); no_focus = False;

@@ -1642,15 +1641,3 @@ old_tbar->redrawWindowLabel(True);

if (old_screen && old_screen != screen) old_screen->updateNetizenWindowFocus(); } - -#warning TODO: wrap in appropriate #ifdefs. - -void Openbox::symlink_rc(const char*rcfile)const{ - char *homedir = getenv("HOME"); - - char *link_file = new char[strlen(homedir) + strlen("/.blackoxrc") + 1]; - sprintf(link_file, "%s/.blackboxrc", homedir); - if(symlink(rcfile, link_file) == -1){ - perror("Cannot create symlink"); - } -}
M src/openbox.hsrc/openbox.h

@@ -122,7 +122,6 @@ protected:

void load_rc(void); void save_rc(void); void reload_rc(void); - void symlink_rc(const char *) const; void real_rereadMenu(void); void real_reconfigure(void);