diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2012-08-06 10:08:44 +0200 |
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2012-08-06 10:08:44 +0200 |
| commit | eab26c640c2e2112c8f16be0dbcba9975391ebba (patch) | |
| tree | 75e388e0dd1c9bffd8558233e8ebf4ff8b1d85d3 /launcher | |
| parent | 7dafded1aa4111bb417021d0bbd14ed7d99f5baf (diff) | |
Fix bug 1024113.
(bzr r2540.3.1)
Diffstat (limited to 'launcher')
| -rw-r--r-- | launcher/Launcher.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/launcher/Launcher.cpp b/launcher/Launcher.cpp index 5d4eff150..15d83c8ba 100644 --- a/launcher/Launcher.cpp +++ b/launcher/Launcher.cpp @@ -1473,11 +1473,14 @@ void Launcher::SetHideMode(LauncherHideMode hidemode) } else { + static bool first_time = true; + _parent->EnableInputWindow(true, launcher::window_title, false, false); - if (!sources_.GetSource(STRUT_HACK_TIMEOUT)) + if (first_time && !sources_.GetSource(STRUT_HACK_TIMEOUT)) { sources_.AddTimeout(1000, sigc::mem_fun(this, &Launcher::StrutHack), STRUT_HACK_TIMEOUT); + first_time = false; } _parent->InputWindowEnableStruts(true); |
