Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Revert "Fix Lazy Nezumi Pro hooking Bug"

Rodney8ec0c6f28f17
diff --git a/toonz/sources/toonzqt/imageutils.cpp b/toonz/sources/toonzqt/imageutils.cpp
index a3f5427fa..f3e7bd662 100644
--- a/toonz/sources/toonzqt/imageutils.cpp
+++ b/toonz/sources/toonzqt/imageutils.cpp
@@ -900,10 +900,6 @@ FullScreenWidget::FullScreenWidget(QWidget *parent) : QWidget(parent) {
this, SLOT(opacityChanged(int, bool &)));
setLayout(layout);
-
-#ifdef _WIN32
- this->winId();
-#endif
}
//---------------------------------------------------------------------------------
@@ -1047,6 +1043,7 @@ bool FullScreenWidget::toggleFullScreen(
this->window()->windowHandle()->setScreen(ptrScreenThisWindowIsOn);
// http://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows
+ this->winId();
QWindowsWindowFunctions::setHasBorderInFullScreen(
this->windowHandle(), true);