- Timestamp:
- Jan 28, 2014 2:16:08 PM (11 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r50217 r50258 2845 2845 CRScreenViewportInfo *pViewport; 2846 2846 RTRECT NewRect; 2847 GLboolean fChanged;2848 2847 int rc; 2849 2848 … … 2862 2861 2863 2862 pViewport = &cr_server.screenVieport[sIndex]; 2864 2865 fChanged = !!memcmp(&NewRect, &pViewport->Rect, sizeof (NewRect)); 2866 if (!fChanged) 2867 { 2868 crDebug("crVBoxServerSetScreenViewport: no changes"); 2869 return VINF_SUCCESS; 2870 } 2871 2863 /*always do viewport updates no matter whether the rectangle actually changes, 2864 * this is needed to ensure window is adjusted properly on OSX */ 2872 2865 pViewport->Rect = NewRect; 2873 2866 rc = CrPMgrViewportUpdate((uint32_t)sIndex); -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp
r50250 r50258 1582 1582 1583 1583 LOG(("CrWIN: Pos [%d ; %d]", x, y)); 1584 1585 if (x != mxPos || y != myPos)1584 // always do WindowPosition to ensure window is adjusted properly 1585 // if (x != mxPos || y != myPos) 1586 1586 { 1587 1587 mxPos = x; … … 1905 1905 } 1906 1906 1907 if (pViewportRect->xLeft != mViewportRect.xLeft || pViewportRect->yTop != mViewportRect.yTop) 1907 // always call SetPosition to ensure window is adjustep properly 1908 // if (pViewportRect->xLeft != mViewportRect.xLeft || pViewportRect->yTop != mViewportRect.yTop) 1908 1909 { 1909 1910 const RTRECT* pRect = getRect();
Note:
See TracChangeset
for help on using the changeset viewer.