Issue with focus

Hi,

I’ve a strange behaviour on my laptop, I’m using only my trackpad, but I doubt it’s the issue here because when someone else is using my laptop, they have the same behaviour.

My problem is that sometimes, when I change the current application, i’ve to click many times on the windows to get the focus.
And it’s a bit of a pain.

Imagine, you change from Firefox to your terminal (with alt-tab), your are in front of the terminal … but you can’t type, because it’s as if the termnial had not the focus… so you click on it but nothing change… on ly after a bunch of click, it’s working properly.

I’m not sure where to begin to search for this issue.
Is it wayland ? My TrackPad ? Gnome ? something else ?

Every idea is welcome !