Application delay receiving focus

Dear ImGui:
Version: 1.69

Back-ends: imgui_impl_allegro5.cpp
Compiler: GCC 8.3.0
Operating System: Windows 7 SP 1

Hello Omar,

Sorry for English. I’m Brazilian and I’ll speak with you via Google Translate.
Initially, I wanted to congratulate you on the excellent library. For quite some time I was looking for something with this format. A very good job.

I have a question that relates to running the application. When I run the application, alternate to another and try to return to it I have to wait some time for this to get focus again. The same situation happens when I click this application in the windows taskbar. This does not minimize immediately only after some time. It’s as if the event handler was slow to catch the window’s focus event. I do not know if it’s a problem with Allegro5 or ImGui.
Would you help me?

Thank you for your attention.

for me what you describe is not related to imGui but to Alegro. maybe you can post on the allegro forum.