Add a WIN_ReleaseDesktop in DESKTOP_IsSingleWindow.

This commit is contained in:
Francois Boisvert 1999-04-15 15:15:34 +00:00 committed by Alexandre Julliard
parent 76d8abe38f
commit 7273dcfa81
1 changed files with 4 additions and 1 deletions

View File

@ -24,8 +24,11 @@ DESKTOP_DRIVER *DESKTOP_Driver = NULL;
*/
BOOL DESKTOP_IsSingleWindow()
{
BOOL retvalue;
DESKTOP *pDesktop = (DESKTOP *) WIN_GetDesktop()->wExtra;
return MONITOR_IsSingleWindow(pDesktop->pPrimaryMonitor);
retvalue = MONITOR_IsSingleWindow(pDesktop->pPrimaryMonitor);
WIN_ReleaseDesktop();
return retvalue;
}
/***********************************************************************