From 87f2f9001d8e796c2b01ad436cff8c7e7a73801e Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 21 Jan 2022 15:46:22 +0200 Subject: [PATCH] x11: Don't create decoration input extent window when running on Wayland Input redirection takes care of handling resize only borders and relevant event handling code in X11Client has been disabled for a while. --- src/x11client.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/x11client.cpp b/src/x11client.cpp index 3cf9f4040e..21fe7b6006 100644 --- a/src/x11client.cpp +++ b/src/x11client.cpp @@ -1043,6 +1043,10 @@ void X11Client::updateInputWindow() if (!Xcb::Extensions::self()->isShapeInputAvailable()) return; + if (kwinApp()->operationMode() != Application::OperationModeX11) { + return; + } + QRegion region; if (!noBorder() && isDecorated()) {