Remove input method leftovers in XdgToplevelClient

isInputMethod() will never return true for an XdgToplevelClient.
This commit is contained in:
Vlad Zahorodnii 2020-09-10 14:59:18 +03:00
parent c7c35513b6
commit 259ef70ddd

View file

@ -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) {