Remove input method leftovers in XdgToplevelClient

isInputMethod() will never return true for an XdgToplevelClient.
icc-effect-master
Vlad Zahorodnii 2020-09-10 14:59:18 +03:00
parent c7c35513b6
commit 259ef70ddd
1 changed files with 0 additions and 3 deletions

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