From 259ef70ddd0382986309140d466488c0725a9b69 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 10 Sep 2020 14:59:18 +0300 Subject: [PATCH] Remove input method leftovers in XdgToplevelClient isInputMethod() will never return true for an XdgToplevelClient. --- xdgshellclient.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/xdgshellclient.cpp b/xdgshellclient.cpp index a9a8bd2eed..cfb3d4ca40 100644 --- a/xdgshellclient.cpp +++ b/xdgshellclient.cpp @@ -916,9 +916,6 @@ bool XdgToplevelClient::dockWantsInput() const bool XdgToplevelClient::acceptsFocus() const { - if (isInputMethod()) { - return false; - } if (m_plasmaShellSurface) { if (m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::OnScreenDisplay || m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::ToolTip) {