mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-08 21:45:58 +01:00
move IME panel below the cursor to not obstruct
This commit is contained in:
parent
f44af0366f
commit
14026d4484
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue