Unconstrain InputMethod's PopupSurface

Make IME popup to be visible inside the parent and not obscure the
text input rectangle region.

Fixes https://github.com/YaLTeR/niri/issues/221
This commit is contained in:
Kirill Chibisov
2024-04-19 18:46:39 +04:00
committed by Ivan Molodetskikh
parent c2d03d82ce
commit 279659ac90
4 changed files with 87 additions and 30 deletions
+1 -1
View File
@@ -768,7 +768,7 @@ impl State {
);
grab.grab.ungrab(PopupUngrabStrategy::All);
keyboard.unset_grab();
keyboard.unset_grab(self);
self.niri.seat.get_pointer().unwrap().unset_grab(
self,
SERIAL_COUNTER.next_serial(),