set_reactive to the reposition

This commit is contained in:
Weng Xuetian 2023-11-20 12:45:06 -08:00
parent 907229cb92
commit 29b2524e12
No known key found for this signature in database
GPG Key ID: 8E8B898CBF2412F9
1 changed files with 1 additions and 0 deletions

View File

@ -548,6 +548,7 @@ void FcitxCandidateWindow::updateClientSideUI(
positioner->set_gravity(
QtWayland::xdg_positioner::gravity_bottom_right);
positioner->set_size(width(), height());
positioner->set_reactive();
positioner->set_constraint_adjustment(
QtWayland::xdg_positioner::constraint_adjustment_slide_x |
QtWayland::xdg_positioner::constraint_adjustment_flip_y);