Commit 92d3cb2f authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

inputmethod: If the client hides itself, act accordingly

parent 7a937fc7
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "wayland_server.h" #include "wayland_server.h"
#include "workspace.h" #include "workspace.h"
#include "screenlockerwatcher.h" #include "screenlockerwatcher.h"
#include "deleted.h"
#include <KWaylandServer/display.h> #include <KWaylandServer/display.h>
#include <KWaylandServer/seat_interface.h> #include <KWaylandServer/seat_interface.h>
...@@ -167,6 +168,8 @@ void InputMethod::clientAdded(AbstractClient* client) ...@@ -167,6 +168,8 @@ void InputMethod::clientAdded(AbstractClient* client)
} }
}); });
connect(m_inputClient, &AbstractClient::frameGeometryChanged, this, refreshFrame); connect(m_inputClient, &AbstractClient::frameGeometryChanged, this, refreshFrame);
connect(m_inputClient, &AbstractClient::windowHidden, this, &InputMethod::hide);
connect(m_inputClient, &AbstractClient::windowClosed, this, &InputMethod::hide);
} }
void InputMethod::handleFocusedSurfaceChanged() void InputMethod::handleFocusedSurfaceChanged()
......
Supports Markdown
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