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 eee55ff..e49b725 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -298,7 +298,7 @@
{
showToolbar = st;
- if (showToolbar && !tb.isVisible()) {
+ if (showToolbar && !tb.isVisible() && !fullscreenActive) {
tb.show();
} else if (!showToolbar && tb.isVisible()) {
tb.hide();