Skip to content

Commit

Permalink
Fixed|UI|Client: Mouse cursor should never be hidden in Home
Browse files Browse the repository at this point in the history
When Home was fullscreen, and one would change focus away and then
back to Doomsday, the mouse cursor would be hidden if the task bar
wasn't open. This should never happen in Home, though, where the mouse
needs to be always available.
  • Loading branch information
skyjake committed Jul 2, 2016
1 parent 952c4d4 commit b291c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/apps/client/src/ui/clientwindow.cpp
Expand Up @@ -508,7 +508,7 @@ DENG2_PIMPL(ClientWindow)

canvas.trapMouse(false);
}
else if(self.isFullScreen() && !taskBar->isOpen())
else if(self.isFullScreen() && !taskBar->isOpen() && DoomsdayApp::isGameLoaded())
{
// Trap the mouse again in fullscreen mode.
canvas.trapMouse();
Expand Down

0 comments on commit b291c46

Please sign in to comment.