summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-12-09 22:21:00 (GMT)
committerfluxgen <fluxgen>2002-12-09 22:21:00 (GMT)
commit37163b419cac729f7ab31be2e958a250a9151c2e (patch)
treed289c6f9d8dc8eef7e12630b26ccf4c1d90b13c3
parentc563042bddf693b0ee26cdee83a7ddbddab3df89 (diff)
downloadfluxbox_lack-37163b419cac729f7ab31be2e958a250a9151c2e.zip
fluxbox_lack-37163b419cac729f7ab31be2e958a250a9151c2e.tar.bz2
minor fix for keys ptr
-rw-r--r--src/fluxbox.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index a2fd191..00caa3b 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.86 2002/12/03 23:58:06 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.87 2002/12/09 22:21:00 fluxgen Exp $
26 26
27 27
28#include "fluxbox.hh" 28#include "fluxbox.hh"
@@ -426,8 +426,7 @@ Fluxbox::Fluxbox(int m_argc, char **m_argv, const char *dpy_name, const char *rc
426 timer.fireOnce(True); 426 timer.fireOnce(True);
427 427
428 //create keybindings handler and load keys file 428 //create keybindings handler and load keys file
429 auto_ptr<Keys> tmp(new Keys(getXDisplay(), StringUtil::expandFilename(*m_rc_keyfile).c_str())); 429 key.reset(new Keys(getXDisplay(), StringUtil::expandFilename(*m_rc_keyfile).c_str()));
430 key = tmp;
431 430
432 ungrab(); 431 ungrab();
433} 432}