Remove input method leftovers in XdgToplevelClient
isInputMethod() will never return true for an XdgToplevelClient.
This commit is contained in:
parent
c7c35513b6
commit
259ef70ddd
1 changed files with 0 additions and 3 deletions
|
@ -916,9 +916,6 @@ bool XdgToplevelClient::dockWantsInput() const
|
||||||
|
|
||||||
bool XdgToplevelClient::acceptsFocus() const
|
bool XdgToplevelClient::acceptsFocus() const
|
||||||
{
|
{
|
||||||
if (isInputMethod()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (m_plasmaShellSurface) {
|
if (m_plasmaShellSurface) {
|
||||||
if (m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::OnScreenDisplay ||
|
if (m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::OnScreenDisplay ||
|
||||||
m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::ToolTip) {
|
m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::ToolTip) {
|
||||||
|
|
Loading…
Reference in a new issue