Commit 259ef70d authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Remove input method leftovers in XdgToplevelClient

isInputMethod() will never return true for an XdgToplevelClient.
parent c7c35513
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment