зеркало из https://github.com/mozilla/pjs.git
fix drawing over other apps' windows
This commit is contained in:
Родитель
678df6e6a6
Коммит
830f6550c0
|
@ -1002,10 +1002,13 @@ RGBColor rgbblack = {0x0000,0x0000,0x0000};
|
|||
RGBColor rgbwhite = {0xFFFF,0xFFFF,0xFFFF};
|
||||
Rect srcrect,dstrect;
|
||||
|
||||
|
||||
::SetRect(&srcrect,0,0,aBounds.width,aBounds.height);
|
||||
::SetRect(&dstrect,0,0,aBounds.width,aBounds.height);
|
||||
|
||||
::SetPort(mFrontBuffer);
|
||||
::SetEmptyRgn(mFrontBuffer->clipRgn);
|
||||
::CopyRgn(mRenderingSurface->clipRgn, mFrontBuffer->clipRgn);
|
||||
|
||||
destpix = *((CGrafPtr)mFrontBuffer)->portPixMap;
|
||||
|
||||
offscreenPM = ::GetGWorldPixMap((GWorldPtr)mRenderingSurface);
|
||||
|
|
Загрузка…
Ссылка в новой задаче