[16:33] <paulg78> Hi I have a very weird issue with xubuntu 22.04. I have focus follows mouse set in the window manager preferences however after some time this just stops working and I have to click to focus. The only way to fix it seems to be to restart X after which it will work for a bit then fail again.
[16:36] <tomreyn> !bug | paulg78 
[16:41] <paulg78> which package though? I'm not actually sure perhaps the window manager itself in the first instance?
[16:43] <tomreyn> paulg78: the xubuntu window manager is xfwm4. i do not know for sure that this is the right package, but bug reports can be reassigned later if needed.
[16:44] <tomreyn> you could also search launchpad for existing reports regarding "focus follows mouse" - if this is an exact quote for the graphical user interface.
[16:46] <tomreyn> bug 1918375 is an earlier report about an issue with the "focus follows mouse" feature
[16:47] <tomreyn> but it's just tangential, not the same issue, so better report it separately
[17:00] <paulg78> So it appears not to be a window manager bug, it appears to be something holding a pointer grab (what is very non-obvious) xdotool key 'XF86Ungrab' does not fix it but xdotool key 'XF86ClearGrab' does. The former just tries to release a grab the second actually kills the client which took the grab
[17:00] <paulg78> however I can't actually workout what caused the grab in the first place
[17:01] <paulg78> If there is a grab the wm will never get the mouse events and thus not be able to change the focus