Right-click the task manager → More → Configure Task Manager
System Settings → Workspace → Window Management