Skip to content

Commit

Permalink
Client|UI: "quit" command dismisses task bar
Browse files Browse the repository at this point in the history
The game is expected to handle the quit request, so the task bar must
get out of the way.
  • Loading branch information
skyjake committed Jun 26, 2013
1 parent 6a2a610 commit 6ba9f52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doomsday/client/src/con_main.cpp
Expand Up @@ -2306,6 +2306,12 @@ D_CMD(Quit)
return true; // Never reached.
}

#ifdef __CLIENT__
// Dismiss the taskbar if it happens to be open, we are expecting
// the game to handle this from now on.
ClientWindow::main().taskBar().close();
#endif

// Defer this decision to the loaded game.
return gx.TryShutdown();
}
Expand Down

0 comments on commit 6ba9f52

Please sign in to comment.