Lines Matching refs:s_pScreenPriv
62 static winPrivScreenPtr s_pScreenPriv = NULL; in winWindowProc() local
83 if ((s_pScreenPriv == NULL || hwnd != s_hwndLastPrivates) in winWindowProc()
84 && (s_pScreenPriv = GetProp(hwnd, WIN_SCR_PROP)) != NULL) { in winWindowProc()
88 s_pScreenInfo = s_pScreenPriv->pScreenInfo; in winWindowProc()
92 else if (s_pScreenPriv == NULL) { in winWindowProc()
103 s_pScreenPriv); in winWindowProc()
119 s_pScreenPriv = ((LPCREATESTRUCT) lParam)->lpCreateParams; in winWindowProc()
120 s_pScreenInfo = s_pScreenPriv->pScreenInfo; in winWindowProc()
124 SetProp(hwnd, WIN_SCR_PROP, s_pScreenPriv); in winWindowProc()
137 s_pScreenPriv->hwndScreen = hwnd; in winWindowProc()
139 winInitNotifyIcon(s_pScreenPriv); in winWindowProc()
185 GetDeviceCaps(s_pScreenPriv->hdcScreen, BITSPIXEL)) { in winWindowProc()
191 winDisplayDepthChangeDialog(s_pScreenPriv); in winWindowProc()
194 s_pScreenPriv->fBadDepth = TRUE; in winWindowProc()
207 s_pScreenPriv->fBadDepth = FALSE; in winWindowProc()
294 if (*s_pScreenPriv->pwinReleasePrimarySurface) in winWindowProc()
295 (*s_pScreenPriv->pwinReleasePrimarySurface) (s_pScreen); in winWindowProc()
298 if (*s_pScreenPriv->pwinCreatePrimarySurface) in winWindowProc()
299 (*s_pScreenPriv->pwinCreatePrimarySurface) (s_pScreen); in winWindowProc()
667 if (s_pScreenPriv == NULL in winWindowProc()
668 || !s_pScreenPriv->fEnabled in winWindowProc()
669 || (s_pScreenInfo->fFullScreen && !s_pScreenPriv->fActive) in winWindowProc()
670 || s_pScreenPriv->fBadDepth) { in winWindowProc()
676 if (s_pScreenPriv->pwinBltExposedRegions == NULL) in winWindowProc()
680 (*s_pScreenPriv->pwinBltExposedRegions) (s_pScreen); in winWindowProc()
692 if (s_pScreenPriv == NULL in winWindowProc()
693 || s_pScreenPriv->pcmapInstalled == NULL in winWindowProc()
694 || s_pScreenPriv->fBadDepth) in winWindowProc()
700 (*s_pScreenPriv->pwinRedrawScreen) (s_pScreen); in winWindowProc()
705 (*s_pScreenPriv->pwinRealizeInstalledPalette) (s_pScreen); in winWindowProc()
708 (*s_pScreenPriv->pwinRedrawScreen) (s_pScreen); in winWindowProc()
714 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
747 (s_pScreenPriv->fActive || s_pScreenInfo->fLessPointer)) { in winWindowProc()
752 else if (g_fSoftwareCursor && !g_fCursor && !s_pScreenPriv->fActive in winWindowProc()
775 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
800 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
811 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
823 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
834 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
846 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
857 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
869 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
880 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
892 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
900 s_pScreenPriv->iE3BCachedPress); in winWindowProc()
903 KillTimer(s_pScreenPriv->hwndScreen, WIN_E3B_TIMER_ID); in winWindowProc()
906 s_pScreenPriv->iE3BCachedPress = 0; in winWindowProc()
954 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
961 winMouseWheel(&(s_pScreenPriv->iDeltaZ), GET_WHEEL_DELTA_WPARAM(wParam), Button4, Button5); in winWindowProc()
965 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
972 winMouseWheel(&(s_pScreenPriv->iDeltaV), GET_WHEEL_DELTA_WPARAM(wParam), 7, 6); in winWindowProc()
976 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
988 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
1000 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
1025 winDisplayExitDialog(s_pScreenPriv); in winWindowProc()
1073 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
1098 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
1102 if (LOWORD(wParam) != WA_INACTIVE && s_pScreenPriv->fBadDepth) { in winWindowProc()
1134 s_pScreenPriv->iDeltaZ = 0; in winWindowProc()
1135 s_pScreenPriv->iDeltaV = 0; in winWindowProc()
1146 if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) in winWindowProc()
1154 s_pScreenPriv->fActive = wParam; in winWindowProc()
1157 if (g_fSoftwareCursor && !s_pScreenPriv->fActive && !g_fCursor) { in winWindowProc()
1167 (*s_pScreenPriv->pwinActivateApp) (s_pScreen); in winWindowProc()
1170 if (s_pScreenPriv->fActive) { in winWindowProc()
1183 winDisplayExitDialog(s_pScreenPriv); in winWindowProc()
1187 if (s_pScreenPriv->fRootWindowShown) in winWindowProc()
1188 ShowWindow(s_pScreenPriv->hwndScreen, SW_HIDE); in winWindowProc()
1190 ShowWindow(s_pScreenPriv->hwndScreen, SW_SHOW); in winWindowProc()
1191 s_pScreenPriv->fRootWindowShown = !s_pScreenPriv->fRootWindowShown; in winWindowProc()
1200 winDisplayAboutDialog(s_pScreenPriv); in winWindowProc()
1205 if (HandleCustomWM_COMMAND(0, LOWORD(wParam), s_pScreenPriv)) in winWindowProc()
1219 winDisplayExitDialog(s_pScreenPriv); in winWindowProc()
1225 SetCursor(s_pScreenPriv->cursor.handle); in winWindowProc()
1232 winInitNotifyIcon(s_pScreenPriv); in winWindowProc()