From 8ec0c6f28f17d3d70f4936244d8ad7e9c0ef663e Mon Sep 17 00:00:00 2001 From: Rodney Date: Nov 06 2022 02:41:25 +0000 Subject: Revert "Fix Lazy Nezumi Pro hooking Bug" --- diff --git a/toonz/sources/toonzqt/imageutils.cpp b/toonz/sources/toonzqt/imageutils.cpp index a3f5427..f3e7bd6 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);