diff options
Diffstat (limited to 'java/com/tigervnc/vncviewer/PixelBufferImage.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/PixelBufferImage.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/tigervnc/vncviewer/PixelBufferImage.java b/java/com/tigervnc/vncviewer/PixelBufferImage.java index ccac4823..bb7e0e48 100644 --- a/java/com/tigervnc/vncviewer/PixelBufferImage.java +++ b/java/com/tigervnc/vncviewer/PixelBufferImage.java @@ -103,6 +103,7 @@ public class PixelBufferImage extends PixelBuffer implements ImageProducer public void put(int x, int y, int w, int h, Graphics g) { if (ic != null) { ic.setPixels(x, y, w, h, cm, data, width() * y + x, width()); + g.setClip(x, y, w, h); ic.imageComplete(ImageConsumer.SINGLEFRAMEDONE); } } |