mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 00:45:58 +01:00
send enter for IME popups
This commit is contained in:
parent
20a1a47e66
commit
4ec034ad49
1 changed files with 3 additions and 0 deletions
|
@ -191,6 +191,9 @@ void Events::listener_mapInputPopup(void* owner, void* data) {
|
|||
Debug::log(LOG, "Mapped an IME Popup");
|
||||
|
||||
g_pInputManager->m_sIMERelay.updateInputPopup(PPOPUP);
|
||||
|
||||
if (const auto PMONITOR = g_pCompositor->getMonitorFromVector(Vector2D(PPOPUP->realX, PPOPUP->realY) + PPOPUP->lastSize / 2.f); PMONITOR)
|
||||
wlr_surface_send_enter(PPOPUP->pSurface->surface, PMONITOR->output);
|
||||
}
|
||||
|
||||
void Events::listener_unmapInputPopup(void* owner, void* data) {
|
||||
|
|
Loading…
Reference in a new issue