Remove WaylandClient::isInputMethod()
We assume that the input method server has at most one surface at a time, which corresponds to the virtual keyboard. But it's not guaranteed to be always true. For example, an xdg_toplevel surface can be created for a configuration dialog, in which case isInputMethod() should not return true.
This commit is contained in:
parent
33e037d45d
commit
790ddc0909
2 changed files with 0 additions and 6 deletions
|
@ -109,11 +109,6 @@ bool WaylandClient::isLockScreen() const
|
|||
return surface()->client() == waylandServer()->screenLockerClientConnection();
|
||||
}
|
||||
|
||||
bool WaylandClient::isInputMethod() const
|
||||
{
|
||||
return surface()->client() == waylandServer()->inputMethodConnection();
|
||||
}
|
||||
|
||||
bool WaylandClient::isLocalhost() const
|
||||
{
|
||||
return true;
|
||||
|
|
|
@ -34,7 +34,6 @@ public:
|
|||
quint32 windowId() const override;
|
||||
pid_t pid() const override;
|
||||
bool isLockScreen() const override;
|
||||
bool isInputMethod() const override;
|
||||
bool isLocalhost() const override;
|
||||
double opacity() const override;
|
||||
void setOpacity(double opacity) override;
|
||||
|
|
Loading…
Reference in a new issue