]> source.dussan.org Git - tigervnc.git/commitdiff
Fixed a problem with toolbar that could show up in the full-screen mode.
authorConstantin Kaplinsky <const@tightvnc.com>
Sat, 20 May 2006 13:45:04 +0000 (13:45 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Sat, 20 May 2006 13:45:04 +0000 (13:45 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@570 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/DesktopWindow.cxx

index eee55ff147ece0f10d0efe82d508b26e8ecefee5..e49b7253935712161b42352885a81805de2d3604 100644 (file)
@@ -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();