diff --git a/main_x11.cpp b/main_x11.cpp
index c83b8240b9..1219337b67 100644
--- a/main_x11.cpp
+++ b/main_x11.cpp
@@ -43,6 +43,7 @@ along with this program. If not, see .
#include
#include
#include
+#include
#include
#include
@@ -417,6 +418,11 @@ KWIN_EXPORT int kdemain(int argc, char * argv[])
KWin::Application::createAboutData();
KQuickAddons::QtQuickSettings::init();
+ // disables vsync for any QtQuick windows we create (BUG 406180)
+ QSurfaceFormat format = QSurfaceFormat::defaultFormat();
+ format.setSwapInterval(0);
+ QSurfaceFormat::setDefaultFormat(format);
+
QCommandLineOption replaceOption(QStringLiteral("replace"), i18n("Replace already-running ICCCM2.0-compliant window manager"));
QCommandLineParser parser;