Sine Striker
2024-05-08 4fc35bd506d1fb9d41324d7dd33047c491f2979f
src/core/contexts/abstractwindowcontext.cpp
@@ -185,7 +185,7 @@
    void AbstractWindowContext::virtual_hook(int id, void *data) {
        switch (id) {
            case CentralizeHook: {
                if (!m_windowHandle)
                if (!m_windowId)
                    return;
                QRect windowGeometry = m_delegate->getGeometry(m_host);
@@ -199,7 +199,7 @@
            }
            case RaiseWindowHook: {
                if (!m_windowHandle)
                if (!m_windowId)
                    return;
                m_delegate->setWindowVisible(m_host, true);
@@ -260,6 +260,12 @@
                m_windowAttributes.insert(it.key(), it.value());
            }
        }
        // Send to shared dispatchers
        if (oldWinId != m_windowId) {
            QEvent e(QEvent::WinIdChange);
            sharedDispatch(m_host, &e);
        }
    }
    QVariant AbstractWindowContext::windowAttribute(const QString &key) const {