}
else
#endif /* USE_CAIRO */
- {
-#ifdef HAVE_XRENDER
- /* Avoid useless NoExpose events. This way, we only get regular
- exposure events when there is actually something to
- expose. */
- if (FRAME_X_PICTURE (f) != None)
- XRenderComposite (FRAME_X_DISPLAY (f), PictOpSrc, FRAME_X_PICTURE (f),
- None, FRAME_X_PICTURE (f), x, from_y, 0, 0, x, to_y,
- width, height);
- else
-#endif
- XCopyArea (FRAME_X_DISPLAY (f),
- FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f),
- f->output_data.x->normal_gc,
- x, from_y,
- width, height,
- x, to_y);
- }
+ XCopyArea (FRAME_X_DISPLAY (f),
+ FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f),
+ f->output_data.x->normal_gc,
+ x, from_y,
+ width, height,
+ x, to_y);
unblock_input ();
}
case NoExpose: /* This occurs when an XCopyArea's
source area was completely
available. */
+#ifdef USE_X_TOOLKIT
+ *finish = X_EVENT_DROP;
+#endif
break;
case UnmapNotify: