From: Constantin Kaplinsky Date: Sat, 20 May 2006 13:45:04 +0000 (+0000) Subject: Fixed a problem with toolbar that could show up in the full-screen mode. X-Git-Tag: v0.0.90~384^2~302 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f19583d8cabca1dfd4feb5bc6fe88b5a9f7c73da;p=tigervnc.git Fixed a problem with toolbar that could show up in the full-screen mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@570 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index eee55ff1..e49b7253 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -298,7 +298,7 @@ void DesktopWindow::setShowToolbar(bool st) { showToolbar = st; - if (showToolbar && !tb.isVisible()) { + if (showToolbar && !tb.isVisible() && !fullscreenActive) { tb.show(); } else if (!showToolbar && tb.isVisible()) { tb.hide();