Plank.HideType.DODGE_MAXIMIZED – plank Reference Manual
DODGE_MAXIMIZED
Description:
DODGE_MAXIMIZED
The dock hides if there is an active maximized window.