mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
Add a WIN_ReleaseDesktop in DESKTOP_IsSingleWindow.
This commit is contained in:
parent
76d8abe38f
commit
7273dcfa81
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue