draw_selection(): erase rubbers correctly during copy/move ops if FIX_BROKEN_TILED_FILL enabled

This commit is contained in:
stefan schippers 2023-09-22 09:40:59 +02:00
parent 9e1feacab4
commit 951a18cb24
1 changed files with 5 additions and 0 deletions

View File

@ -194,6 +194,11 @@ void draw_selection(GC g, int interruptable)
#endif
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)
{
c = xctx->sel_array[i].col;n = xctx->sel_array[i].n;