Disable client side decorations on Vulkan window
Fixes: QTBUG-120950 Change-Id: I22a78691bd09093432e5d11a72e3abbeadf36cf2 Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
parent
564ca2f307
commit
2d4b077534
@ -1043,6 +1043,9 @@ bool QWaylandWindow::createDecoration()
|
||||
{
|
||||
Q_ASSERT_X(QThread::currentThreadId() == QThreadData::get2(thread())->threadId.loadRelaxed(),
|
||||
"QWaylandWindow::createDecoration", "not called from main thread");
|
||||
// TODO: client side decorations do not work with Vulkan backend.
|
||||
if (window()->surfaceType() == QSurface::VulkanSurface)
|
||||
return false;
|
||||
if (!mDisplay->supportsWindowDecoration())
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user