Changeset 47599 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- Aug 7, 2013 6:02:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r47577 r47599 2701 2701 if (pMI->screenId == *sIndex) 2702 2702 { 2703 crServerVBoxCompositionDisableEnter(pMI); 2704 2705 pMI->fHasParentWindow = !!cr_server.screen[pMI->screenId].winID; 2706 2707 renderspuReparentWindow(pMI->spuWindow); 2708 2709 crServerVBoxCompositionDisableLeave(pMI, GL_FALSE); 2703 crServerWindowReparent(pMI); 2710 2704 } 2711 2705 } … … 2753 2747 if (MAPPED(SCREEN(sIndex))) 2754 2748 { 2749 PCR_DISPLAY pDisplay = crServerDisplayGetInitialized(sIndex); 2750 2755 2751 SCREEN(sIndex).winID = 0; 2756 2752 renderspuSetWindowId(0); … … 2759 2755 2760 2756 crHashtableWalk(cr_server.dummyMuralTable, crVBoxServerReparentMuralCB, &sIndex); 2757 2758 if (pDisplay) 2759 CrDpReparent(pDisplay, &SCREEN(sIndex)); 2761 2760 } 2762 2761 … … 2831 2830 PCR_DISPLAY pDisplay = crServerDisplayGetInitialized(sIndex); 2832 2831 if (pDisplay) 2833 CrDpRe size(pDisplay, x, y, w, h);2832 CrDpReparent(pDisplay, &SCREEN(sIndex)); 2834 2833 } 2835 2834 … … 3036 3035 3037 3036 /* no need to do anything here actually */ 3037 } 3038 3039 if (fPosChanged || fSizeChanged) 3040 { 3041 PCR_DISPLAY pDisplay = crServerDisplayGetInitialized(sIndex); 3042 if (pDisplay) 3043 CrDpResize(pDisplay, SCREEN(sIndex).x, SCREEN(sIndex).y, SCREEN(sIndex).w, SCREEN(sIndex).h); 3038 3044 } 3039 3045 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.