Sine Striker
2024-02-25 6f6f96909e7ded6ae3a4e59d9d4b62fa593abb23
src/quick/quickwindowagent_win.cpp
@@ -56,7 +56,8 @@
        anchors->setLeft(parentPri->left());
        anchors->setRight(parentPri->right());
        setZ(std::numeric_limits<qreal>::max()); // Make sure our fake border always above everything in the window.
        setZ(std::numeric_limits<qreal>::max()); // Make sure our fake border always above
                                                 // everything in the window.
        context->installNativeEventFilter(this);
        context->installSharedEventFilter(this);
@@ -132,6 +133,12 @@
        Q_UNUSED(obj)
        
        switch (event->type()) {
            case QEvent::WinIdChange: {
                if (auto winId = context->windowId()) {
                    updateGeometry();
                }
                break;
            }
            case QEvent::WindowStateChange: {
                updateGeometry();
                break;