From f19583d8cabca1dfd4feb5bc6fe88b5a9f7c73da Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Sat, 20 May 2006 13:45:04 +0000 Subject: [PATCH] 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 --- vncviewer/DesktopWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5