inputmethod: If the client hides itself, act accordingly
This commit is contained in:
parent
7a937fc7af
commit
92d3cb2f22
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
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()
|
||||||
|
|
Loading…
Reference in a new issue