From 03b64331f2e450d551b35d6449e47ffb1f197fd8 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 1 Sep 2021 12:44:13 +0300 Subject: [PATCH] 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. --- src/xdgshellclient.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xdgshellclient.cpp b/src/xdgshellclient.cpp index 17b22bf710..2408816816 100644 --- a/src/xdgshellclient.cpp +++ b/src/xdgshellclient.cpp @@ -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,