diff options
author | fluxgen <fluxgen> | 2002-12-09 22:21:00 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-12-09 22:21:00 (GMT) |
commit | 37163b419cac729f7ab31be2e958a250a9151c2e (patch) | |
tree | d289c6f9d8dc8eef7e12630b26ccf4c1d90b13c3 /src/fluxbox.cc | |
parent | c563042bddf693b0ee26cdee83a7ddbddab3df89 (diff) | |
download | fluxbox_pavel-37163b419cac729f7ab31be2e958a250a9151c2e.zip fluxbox_pavel-37163b419cac729f7ab31be2e958a250a9151c2e.tar.bz2 |
minor fix for keys ptr
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 5 |
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 | } |