Were there ever reports about window losing focus when changing input method with XMonad? I use fcitx5, filed an issue here https://github.com/fcitx/fcitx5/issues/1459#issuecomment-3585417306 but the author seems to believe that the issue must come from the window manager. Basically when I type in a floating window in firefox for example, changing the input method would remove the focus from the window. I have also tried to ignore fcitx in "activateHooks" with "setEwmhActivateHook", this did't work. myActivateHook :: ManageHook myActivateHook = -- Ignore activate request composeOne [ className =? "fcitx" -?> mempty , isInProperty "_NET_WM_WINDOW_TYPE" "_NET_WM_WINDOW_TYPE_COMBO" -?> mempty , return True -?> doFocus ] Thanks a lot :)