]> source.dussan.org Git - tigervnc.git/commitdiff
Fixes what appears to be a Java bug on Linux. Graphics2D.copyArea corrupts the screen...
authorBrian Hinz <bphinz@users.sourceforge.net>
Sat, 19 May 2012 13:28:43 +0000 (13:28 +0000)
committerBrian Hinz <bphinz@users.sourceforge.net>
Sat, 19 May 2012 13:28:43 +0000 (13:28 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4915 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/com/tigervnc/vncviewer/BIPixelBuffer.java

index 75771545d01413d5b4e4aceaf4053d3ef8850069..692b712cd534ec9bb42a921c1751fb7d8ff7e7a1 100644 (file)
@@ -40,7 +40,7 @@ public class BIPixelBuffer extends PlatformPixelBuffer
       GraphicsEnvironment.getLocalGraphicsEnvironment();
     GraphicsDevice gd = ge.getDefaultScreenDevice();
     GraphicsConfiguration gc = gd.getDefaultConfiguration();
-    image = gc.createCompatibleImage(w, h, Transparency.OPAQUE);
+    image = gc.createCompatibleImage(w, h, Transparency.TRANSLUCENT);
     image.setAccelerationPriority(1);
     image.createGraphics();
   }