Is it ok for a desktop app to steal the focus when the app’s window is hovered?

We are working on an app that is meant to be on one side of the screen, it is a desktop app for video calls. Right now if you hover the app's window it steals the focus so the user can start typing to search contacts to call or directly use the buttons to do so.

I have read many articles and UX posts saying that you should avoid stealing the focus of an app. Others say there are some exceptions, for instance, alarms apps.

So, is ours a legitimate use case for stealing the focus?