move IME panel below the cursor to not obstruct

This commit is contained in:
vaxerski 2022-08-05 18:54:59 +02:00
parent f44af0366f
commit 14026d4484

View file

@ -167,10 +167,10 @@ void CInputMethodRelay::updateInputPopup(SIMEPopup* pPopup) {
wlr_box finalBox = cursorBox; wlr_box finalBox = cursorBox;
pPopup->x = finalBox.x; pPopup->x = finalBox.x;
pPopup->y = finalBox.y; pPopup->y = finalBox.y + finalBox.height;
pPopup->realX = finalBox.x + parentPos.x; pPopup->realX = finalBox.x + parentPos.x;
pPopup->realY = finalBox.y + parentPos.y; pPopup->realY = finalBox.y + parentPos.y + finalBox.height;
wlr_input_popup_surface_v2_send_text_input_rectangle(pPopup->pSurface, &finalBox); wlr_input_popup_surface_v2_send_text_input_rectangle(pPopup->pSurface, &finalBox);