wayland: Remove special input method case in XdgToplevelClient

Input method surfaces have input_panel_surface role, so the special case
for input method windows can be dropped.
This commit is contained in:
Vlad Zahorodnii 2021-09-01 12:44:13 +03:00 committed by Aleix Pol Gonzalez
parent 99e208e30f
commit 03b64331f2

View file

@ -363,10 +363,6 @@ XdgToplevelClient::XdgToplevelClient(XdgToplevelInterface *shellSurface)
}
#endif
if (waylandServer()->inputMethodConnection() == surface()->client()) {
m_windowType = NET::OnScreenDisplay;
}
connect(shellSurface, &XdgToplevelInterface::windowTitleChanged,
this, &XdgToplevelClient::handleWindowTitleChanged);
connect(shellSurface, &XdgToplevelInterface::windowClassChanged,