forked from e16/e16
1
0
Fork 0

Move some code lines.

SVN revision: 53808
This commit is contained in:
Kim Woelders 2010-10-23 10:22:54 +00:00
parent 15ede64ea1
commit d3895d6eec
1 changed files with 10 additions and 11 deletions

View File

@ -443,17 +443,6 @@ doPagerUpdate(Pager * p)
if (ewin->mini_pmm.pmap)
{
#if 0 /* Mask is currently not set anywhere */
if (ewin->mini_pmm.mask)
{
XSetClipMask(disp, gc, ewin->mini_pmm.mask);
XSetClipOrigin(disp, gc, wx, wy);
}
XCopyArea(disp, ewin->mini_pmm.pmap, pmap, gc, 0, 0,
ww, wh, wx, wy);
if (ewin->mini_pmm.mask)
XSetClipMask(disp, gc, None);
#else
#if USE_COMPOSITE
pict = EPictureCreate(NULL, ewin->mini_pmm.pmap);
alpha = ECompMgrWinGetAlphaPict(EoObj(ewin));
@ -465,8 +454,18 @@ doPagerUpdate(Pager * p)
0, 0, 0, 0, wx, wy, ww, wh);
EPictureDestroy(pict);
#else
#if 0 /* Mask is currently not set anywhere */
if (ewin->mini_pmm.mask)
{
XSetClipMask(disp, gc, ewin->mini_pmm.mask);
XSetClipOrigin(disp, gc, wx, wy);
}
#endif
XCopyArea(disp, ewin->mini_pmm.pmap, pmap, gc, 0, 0,
ww, wh, wx, wy);
#if 0 /* Mask is currently not set anywhere */
if (ewin->mini_pmm.mask)
XSetClipMask(disp, gc, None);
#endif
#endif
}