From a8d4ed76de90cd831f18f2c4760711c45fd68cc0 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 21 Nov 2022 23:23:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Viewer/fg=5Fos=5Fosgv?= =?UTF-8?q?iewer.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Viewer/fg_os_osgviewer.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Viewer/fg_os_osgviewer.cxx b/src/Viewer/fg_os_osgviewer.cxx index 6562f89..c723049 100755 --- a/src/Viewer/fg_os_osgviewer.cxx +++ b/src/Viewer/fg_os_osgviewer.cxx @@ -587,7 +587,6 @@ void fgOSFullScreen() * single display) - so we detect full screen mode using "WindowDecoration" state instead. * "false" - even when a single window is display in fullscreen */ //bool isFullScreen = x == 0 && y == 0 && width == (int)screenWidth && height == (int)screenHeight; - bool isFullScreen = !window->getWindowDecoration(); SG_LOG(SG_VIEW, SG_DEBUG, "Toggling fullscreen. Previous window rectangle (" << x << ", " << y << ") x (" << width << ", " << height << "), fullscreen: " << isFullScreen << ", number of screens: " << wsi->getNumScreens());