From ce36978e76a6c742e419b21cf2efd7becf25d0fb Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 20 Dec 2003 19:10:49 +0000 Subject: fixed autohide bug --- src/Slit.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Slit.cc b/src/Slit.cc index f5b6310..74681e5 100644 --- a/src/Slit.cc +++ b/src/Slit.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Slit.cc,v 1.85 2003/12/18 20:56:18 fluxgen Exp $ +// $Id: Slit.cc,v 1.86 2003/12/20 19:10:49 fluxgen Exp $ #include "Slit.hh" @@ -796,6 +796,8 @@ void Slit::reconfigure() { if (doAutoHide() && !isHidden() && !m_timer.isTiming()) m_timer.start(); + else if (!doAutoHide() && isHidden()) + toggleHidden(); // restore visible m_slitmenu.reconfigure(); updateClientmenu(); -- cgit v0.11.2