mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 12:41:55 -07:00
send enter for IME popups
This commit is contained in:
@@ -191,6 +191,9 @@ void Events::listener_mapInputPopup(void* owner, void* data) {
|
|||||||
Debug::log(LOG, "Mapped an IME Popup");
|
Debug::log(LOG, "Mapped an IME Popup");
|
||||||
|
|
||||||
g_pInputManager->m_sIMERelay.updateInputPopup(PPOPUP);
|
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) {
|
void Events::listener_unmapInputPopup(void* owner, void* data) {
|
||||||
|
Reference in New Issue
Block a user