Bouncing icon on the mouse pointer keeps bouncing

I made an application with GUI, not using Qt or GTK. When I launch it from KDE menu, the window appears immediately and is responsive. However, the bouncing icon on the mouse pointer keeps bouncing until timeout, and this is annoying.

Am I supposed to send some message that the application is running?

I can’t search Internet for this question because the search is overwhelmed by users asking how to turn it off.

I’ve noticed on more than a few apps that the bouncing icon runs much longer than it should.

I have disabled the bouncing cursor by adding StartupNotify=false to .desktop file. That’s the best option I could find for now.

I’ll have a look around here either later today or tomorrow cause I know there is away or at least was a way to change the timing, but it’s been a long long long while since that post was made so no guarantee I’ll find it.

https://www.freedesktop.org/wiki/Software/startup-notification/ The listed protocol here can probably be used, or the library, directly