Fix IM focus handling if a client has multiple windows


We cannot just ignore a focus change, if the client (resource) stays
the same, as that breaks the one-app-multiple-windows case.

Pick-to: 6.8 6.5
Fixes: QTBUG-130581
Change-Id: I1bdf7ccdb2c884c66b4f4d34653aac5cd2cddd51
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
commit3cd0f57405dde7bb03b05904097309d90272e11a
parente389b1e38e94182d4e568a59ede51089bc31bc81
authorRobert Griebl <robert.griebl@qt.io>
committerRobert Griebl <robert.griebl@qt.io>
commit timeWed, 30 Oct 2024 13:50:20 +0100