There was an error while loading. Please reload this page.
1 parent 5c7c6fd commit 3a3388cCopy full SHA for 3a3388c
1 file changed
src/frontend/qt_sdl/Screen.cpp
@@ -1299,13 +1299,15 @@ std::optional<WindowInfo> ScreenPanelGL::getWindowInfo()
1299
wi.display_connection = x11->display();
1300
wi.window_handle = reinterpret_cast<void*>(winId());
1301
}
1302
+ #if defined(WAYLAND_ENABLED)
1303
else if (platform_name == QStringLiteral("wayland"))
1304
{
1305
wi.type = WindowInfo::Type::Wayland;
1306
const QWaylandApplication* wl = qApp->nativeInterface<QWaylandApplication>();
1307
wi.display_connection = wl->display();
1308
1309
1310
+ #endif
1311
#else
1312
QPlatformNativeInterface* pni = QGuiApplication::platformNativeInterface();
1313
if (platform_name == QStringLiteral("xcb"))
0 commit comments