Add a WIN_ReleaseDesktop in DESKTOP_IsSingleWindow.
This commit is contained in:
parent
76d8abe38f
commit
7273dcfa81
|
@ -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;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue