16 : wl_surface(display->createSurface(
this))
18 connect(qApp, &QGuiApplication::screenRemoved,
this, &QWaylandSurface::handleScreenRemoved);
19 connect(qApp, &QGuiApplication::screenAdded,
this, &QWaylandSurface::screensChanged);
62 auto addedScreen = QWaylandScreen::fromWlOutput(output);
66 if (m_screens.contains(addedScreen)) {
67 qCWarning(lcQpaWayland)
68 <<
"Ignoring unexpected wl_surface.enter received for output with id:"
69 << wl_proxy_get_id(
reinterpret_cast<wl_proxy *>(output))
70 <<
"screen name:" << addedScreen->name() <<
"screen model:" << addedScreen->model()
71 <<
"This is most likely a bug in the compositor.";
75 m_screens.append(addedScreen);
76 emit screensChanged();