Also the fix for this will be in unity/unity-shared/PluignAdapter.cpp. Where we tell if a window is on top. What is happening, is we skip always on top windows and if all the other windows are minimized it will return false.
Also look in unity/launcher/ApplicationLauncherIcon.cpp::ActivateLauncherIcon as this function is what calls:
if (!any_on_top && wm.IsWindowOnTop(xid))
Which is what you will be checking to see if its false or true.
Also the fix for this will be in unity/unity- shared/ PluignAdapter. cpp. Where we tell if a window is on top. What is happening, is we skip always on top windows and if all the other windows are minimized it will return false.
Also look in unity/launcher/ ApplicationLaun cherIcon. cpp::ActivateLa uncherIcon as this function is what calls:
if (!any_on_top && wm.IsWindowOnTo p(xid))
Which is what you will be checking to see if its false or true.