diff --git a/main.cpp b/main.cpp
index c6be0af98d..b89e923bb7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -47,6 +47,7 @@ along with this program. If not, see .
#include
#include
#include
+#include
#include
#include
#include
@@ -222,6 +223,9 @@ void Application::start()
});
connect(&owner, SIGNAL(lostOwnership()), SLOT(lostSelection()));
connect(&owner, &KSelectionOwner::claimedOwnership, [this]{
+ // we want all QQuickWindows with an alpha buffer
+ QQuickWindow::setDefaultAlphaBuffer(true);
+
installNativeEventFilter(m_eventFilter.data());
// first load options - done internally by a different thread
options = new Options;