Backport skip_taskbar feature

1. #1956 ask us to backport this feature.
2. Reference #1076 and f48c832d57816098b9b56e372b9090af0f008832 to finish the task.
3. Build and test on Linux, Windows and OSX, it works.