| 46 | } |
| 47 | |
| 48 | QWidget* DisplaySurface::createWindowContainer(QWidget* parent) |
| 49 | { |
| 50 | m_container = QWidget::createWindowContainer(this, parent); |
| 51 | m_container->installEventFilter(this); |
| 52 | m_container->setFocusPolicy(Qt::StrongFocus); |
| 53 | return m_container; |
| 54 | } |
| 55 | |
| 56 | std::optional<WindowInfo> DisplaySurface::getWindowInfo() |
| 57 | { |