Lines 244-249
Link Here
|
244 |
{ |
244 |
{ |
245 |
if(inclose || !xd || !xd->buffered || xd->holdlevel > 0) return; |
245 |
if(inclose || !xd || !xd->buffered || xd->holdlevel > 0) return; |
246 |
cairo_paint(xd->xcc); |
246 |
cairo_paint(xd->xcc); |
|
|
247 |
cairo_surface_flush(xd->xcs); |
247 |
if (xd->type == WINDOW) XDefineCursor(display, xd->window, arrow_cursor); |
248 |
if (xd->type == WINDOW) XDefineCursor(display, xd->window, arrow_cursor); |
248 |
XSync(display, 0); |
249 |
XSync(display, 0); |
249 |
xd->last = currentTime(); |
250 |
xd->last = currentTime(); |
Lines 753-760
Link Here
|
753 |
#ifdef HAVE_WORKING_CAIRO |
754 |
#ifdef HAVE_WORKING_CAIRO |
754 |
pX11Desc xd = (pX11Desc) dd->deviceSpecific; |
755 |
pX11Desc xd = (pX11Desc) dd->deviceSpecific; |
755 |
/* We can use the buffered copy where we have it */ |
756 |
/* We can use the buffered copy where we have it */ |
756 |
if(xd->buffered == 1) cairo_paint(xd->xcc); |
757 |
if(xd->buffered == 1) { |
757 |
else if (xd->buffered > 1) |
758 |
cairo_paint(xd->xcc); |
|
|
759 |
cairo_surface_flush(xd->xcs); |
760 |
} else if (xd->buffered > 1) |
758 |
/* rely on timer to repaint eventually */ |
761 |
/* rely on timer to repaint eventually */ |
759 |
xd->last_activity = currentTime(); |
762 |
xd->last_activity = currentTime(); |
760 |
else |
763 |
else |
Lines 2691-2697
Link Here
|
2691 |
Cairo_update(xd); |
2694 |
Cairo_update(xd); |
2692 |
return; |
2695 |
return; |
2693 |
} |
2696 |
} |
2694 |
if(xd->buffered) cairo_paint(xd->xcc); |
2697 |
if(xd->buffered) { |
|
|
2698 |
cairo_paint(xd->xcc); |
2699 |
cairo_surface_flush(xd->xcs); |
2700 |
} |
2701 |
|
2695 |
#endif |
2702 |
#endif |
2696 |
if(xd->type==WINDOW) XDefineCursor(display, xd->window, arrow_cursor); |
2703 |
if(xd->type==WINDOW) XDefineCursor(display, xd->window, arrow_cursor); |
2697 |
XSync(display, 0); |
2704 |
XSync(display, 0); |