aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/DesktopWindow.cxx
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2006-05-20 13:45:04 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2006-05-20 13:45:04 +0000
commitf19583d8cabca1dfd4feb5bc6fe88b5a9f7c73da (patch)
tree62c2ffcf636717098deb318b027e9ac46ec9ada5 /vncviewer/DesktopWindow.cxx
parent44e99643dc5b2e519dc2393eadcd4812ce8b3dec (diff)
downloadtigervnc-f19583d8cabca1dfd4feb5bc6fe88b5a9f7c73da.tar.gz
tigervnc-f19583d8cabca1dfd4feb5bc6fe88b5a9f7c73da.zip
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
Diffstat (limited to 'vncviewer/DesktopWindow.cxx')
-rw-r--r--vncviewer/DesktopWindow.cxx2
1 files changed, 1 insertions, 1 deletions
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();