| | |
| | | auto window = m_context->window(); |
| | | auto delegate = m_context->delegate(); |
| | | auto me = static_cast<const QMouseEvent *>(event); |
| | | bool fixedSize = delegate->isHostSizeFixed(host); |
| | | bool fixedSize = m_context->isHostSizeFixed(); |
| | | |
| | | QPoint scenePos = getMouseEventScenePos(me); |
| | | QPoint globalPos = getMouseEventGlobalPos(me); |
| | |
| | | AbstractWindowContext::virtual_hook(id, data); |
| | | } |
| | | |
| | | void QtWindowContext::winIdChanged() { |
| | | void QtWindowContext::winIdChanged(WId winId, WId oldWinId) { |
| | | if (!m_windowHandle) { |
| | | m_delegate->setWindowFlags(m_host, m_delegate->getWindowFlags(m_host) & |
| | | ~Qt::FramelessWindowHint); |