src/gui/painting/qpaintengine_x11.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
--- a/src/gui/painting/qpaintengine_x11.cpp	Mon Mar 15 12:43:09 2010 +0200
+++ b/src/gui/painting/qpaintengine_x11.cpp	Thu Apr 08 14:19:33 2010 +0300
@@ -1989,6 +1989,9 @@
         }
         XFillRectangle(d->dpy, d->hd, d->gc, x, y, sw, sh);
         restore_clip = true;
+    } else if (mono_dst && !mono_src) {
+        QBitmap bitmap(pixmap);
+        XCopyArea(d->dpy, bitmap.handle(), d->hd, d->gc, sx, sy, sw, sh, x, y);
     } else {
         XCopyArea(d->dpy, pixmap.handle(), d->hd, d->gc, sx, sy, sw, sh, x, y);
     }