On Sat Feb 8 03:17:37 2025 +0000, Byeongsik Jeon wrote:
I see a subsurface in WAYLAND_DEBUG being used that's definitely
associated with the preedit, though for whatever reason I'm unable to get anything visible on screen. I'm personally building a native-PE ime based on libhangul. Probably the same problem I had with the wayland driver. Hopefully the attached patch will help. [fix_wayland_ime_ui_window.diff](/uploads/2cdf62ea84efcd1f40bb3e75b98a7565/fix_wayland_ime_ui_window.diff)
Thanks, that makes preedit work. Without the patch the subsurface was being created with the parent surface being the surface for the Default IME window which had no surface role and was never mapped, instead of the focused window.
I'll do preedit support in a second MR if this MR is correct and approved.