* PROJECT: ReactOS Win32k subsystem
* PURPOSE: Interface between Win32k and USERSRV
* FILE: win32ss/user/ntuser/csr.c
- * PROGRAMER: Hermes Belusca-Maito (hermes.belusca@sfr.fr), based on
+ * PROGRAMMER: Hermes Belusca-Maito (hermes.belusca@sfr.fr), based on
* the original code by Ge van Geldorp (ge@gse.nl) and by
* the CSR code in NTDLL.
*/
{
BOOL Ret = FALSE;
- if ( pWnd->style & WS_VISIBLE && (pWnd->style & WS_CAPTION) == WS_CAPTION )
+ if ( (pWnd->style & WS_VISIBLE) && ((pWnd->style & WS_CAPTION) == WS_CAPTION) )
{
-
if (pWnd->state & WNDS_HASCAPTION && pWnd->head.pti->MessageQueue == gpqForeground)
Flags |= DC_ACTIVE;
/*
/* FIXME: Do some more security checks here */
- /* FIXME: The first check is a reactos specific hack for system threads */
+ /* FIXME: HACK: The first check is a reactos specific hack for system threads */
if(!PsIsSystemProcess(ptiCurrent->ppi->peProcess) &&
ptiCurrent->ppi != ppiCsr)
{
pwndParent = Window->spwndParent;
if (pwndParent == UserGetDesktopWindow())
{
- ERR("Parent is Desktop, Min off screen!\n");
- /* ReactOS doesn't support iconic minimize to desktop */
+ ERR("FIXME: Parent is Desktop, Min off screen!\n");
+ /* FIXME: ReactOS doesn't support iconic minimize to desktop */
Pos->x = Pos->y = -32000;
Window->InternalPos.flags |= WPF_MININIT;
Window->InternalPos.IconPos.x = Pos->x;