diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-18 14:08:44 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-07-18 14:08:44 (GMT) |
commit | 517b8cf43cad224b27f5a71d421bc03dbdd79cae (patch) | |
tree | cc47f5e9364c086faeb70c925d4d5952e04480f4 | |
parent | 30913f9d9b3ea6108c78f4d5c798330b76bf5e05 (diff) | |
download | fluxbox_pavel-517b8cf43cad224b27f5a71d421bc03dbdd79cae.zip fluxbox_pavel-517b8cf43cad224b27f5a71d421bc03dbdd79cae.tar.bz2 |
Attach modifiedSig handlers to the session.screenX.tooltipDelay resource
ps: previously, one had to restart fluxbox for changes to this resource to take effect.
-rw-r--r-- | src/Screen.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 29545c2..d34990a 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -420,6 +420,9 @@ BScreen::BScreen(FbTk::ResourceManager_base &rm, | |||
420 | 420 | ||
421 | renderGeomWindow(); | 421 | renderGeomWindow(); |
422 | renderPosWindow(); | 422 | renderPosWindow(); |
423 | |||
424 | m_tracker.join(resource.tooltip_delay.modifiedSig(), | ||
425 | MemFun(*m_tooltip_window, &TooltipWindow::setDelay)); | ||
423 | m_tooltip_window->setDelay(*resource.tooltip_delay); | 426 | m_tooltip_window->setDelay(*resource.tooltip_delay); |
424 | 427 | ||
425 | // setup workspaces and workspace menu | 428 | // setup workspaces and workspace menu |