Commit 7273dcfa authored by Francois Boisvert's avatar Francois Boisvert Committed by Alexandre Julliard

Add a WIN_ReleaseDesktop in DESKTOP_IsSingleWindow.

parent 76d8abe3
......@@ -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;
}
/***********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment