SetWorkspaceAsync
fDesktop->SetWorkspaceAsync(key - B_F1_KEY, takeWindow);
fDesktop->SetWorkspaceAsync(-1, takeWindow);
void SetWorkspaceAsync(int32 index,
Window()->Desktop()->SetWorkspaceAsync(index);