On Fri Aug 16 08:17:38 2024 +0000, Zhiyi Zhang wrote:
I tried iBus and Fcitx 5. With iBus, before and after this MR, the composition window of iBus is below the window and Wine's composition window is at the caret position. For Fcitx 5, the Fcitx composition window is at the caret position and no wine composition window. Wine already sets (0,0) XNSpotLocation in xic_create(). I think this MR should be an improvement over what we have now.
Maybe, but it adds more complexity and some backend-specific helpers without improving the common case.
Wine already sets (0,0) XNSpotLocation in xic_create().
Yes, but I had issues when calling it later to move the window, like you're doing here. I don't remember precisely which IME was involved though, I'll need to check again.