draw_selection(): erase rubbers correctly during copy/move ops if FIX_BROKEN_TILED_FILL enabled
This commit is contained in:
parent
9e1feacab4
commit
951a18cb24
|
|
@ -194,6 +194,11 @@ void draw_selection(GC g, int interruptable)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(g != xctx->gctiled) xctx->movelastsel = xctx->lastsel;
|
if(g != xctx->gctiled) xctx->movelastsel = xctx->lastsel;
|
||||||
|
#if defined(FIX_BROKEN_TILED_FILL)
|
||||||
|
else
|
||||||
|
MyXCopyArea(display, xctx->save_pixmap, xctx->window, xctx->gc[0], xctx->xrect[0].x, xctx->xrect[0].y,
|
||||||
|
xctx->xrect[0].width, xctx->xrect[0].height, xctx->xrect[0].x, xctx->xrect[0].y);
|
||||||
|
#endif
|
||||||
for(i=0;i<xctx->movelastsel; ++i)
|
for(i=0;i<xctx->movelastsel; ++i)
|
||||||
{
|
{
|
||||||
c = xctx->sel_array[i].col;n = xctx->sel_array[i].n;
|
c = xctx->sel_array[i].col;n = xctx->sel_array[i].n;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue