all repos — fluxbox @ 018599a9fe00cb5a9c1af418dcab3e6c8507e37d

custom fork of the fluxbox windowmanager

expand keyfilename
fluxgen fluxgen
commit

018599a9fe00cb5a9c1af418dcab3e6c8507e37d

parent

74cfb3bfaa74ef6f34d28f96c95ebb5748d45ce0

1 files changed, 7 insertions(+), 3 deletions(-)

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

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.38 2002/03/01 15:28:56 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.39 2002/03/01 16:58:51 fluxgen Exp $ //Use some GNU extensions #ifndef _GNU_SOURCE

@@ -400,7 +400,9 @@ timer->setTimeout(0);

timer->fireOnce(True); //create keybindings handler and load keys file - key = new Keys(getXDisplay(), const_cast<char *>((*m_rc_keyfile).c_str())); + char *keyfilename = StringUtil::expandFilename((*m_rc_keyfile).c_str()); + key = new Keys(getXDisplay(), const_cast<char *>(keyfilename)); + delete keyfilename; ungrab(); }

@@ -2363,7 +2365,9 @@ screen->reconfigure();

} //reconfigure keys - key->reconfigure(const_cast<char *>(m_rc_keyfile->c_str())); + char *keyfilename = StringUtil::expandFilename(m_rc_keyfile->c_str()); + key->reconfigure(keyfilename); + delete keyfilename; //reconfigure tabs reconfigureTabs();