summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2002-03-15 16:10:54 +0000
committerSilenio Quarti <silenio>2002-03-15 16:10:54 +0000
commitb314fb5955a55b76fc9b9106f1d0943b3e19c3f7 (patch)
treef9eaac1dc5eebb333dcf3556ef4d63ef90571cb8
parent5202f7e5d74f192b5f99bdfc98c057dd2fcacd3a (diff)
downloadeclipse.platform.swt-b314fb5955a55b76fc9b9106f1d0943b3e19c3f7.tar.gz
eclipse.platform.swt-b314fb5955a55b76fc9b9106f1d0943b3e19c3f7.tar.xz
eclipse.platform.swt-b314fb5955a55b76fc9b9106f1d0943b3e19c3f7.zip
*** empty log message ***
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java
index 667af33799..a5ea840cde 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java
@@ -84,8 +84,8 @@ public void copyArea(int x, int y, int width, int height, int destX, int destY)
OS.XSetGraphicsExposures (xDisplay, handle, true);
OS.XCopyArea(xDisplay, xDrawable, xDrawable, handle, x, y, width, height, destX, destY);
OS.XSetGraphicsExposures (xDisplay, handle, false);
- boolean disjoint = (destX + width < x) || (x + width < destX) || (destY + height < y) || (y + height < destY);
if (data.image != null) return;
+ boolean disjoint = (destX + width < x) || (x + width < destX) || (destY + height < y) || (y + height < destY);
if (disjoint) {
OS.XClearArea (xDisplay, xDrawable, x, y, width, height, true);
} else {