From c219ca8c3b06f802959e027f4afc65d3e73e7d9b Mon Sep 17 00:00:00 2001 From: "wimba.com" Date: Wed, 22 Sep 2004 15:10:14 +0000 Subject: [PATCH] Change to prevent cursor remnants from appearing. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2536 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/com/tightvnc/rfbplayer/VncCanvas.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/tightvnc/rfbplayer/VncCanvas.java b/java/src/com/tightvnc/rfbplayer/VncCanvas.java index b369c631..9ebf6956 100644 --- a/java/src/com/tightvnc/rfbplayer/VncCanvas.java +++ b/java/src/com/tightvnc/rfbplayer/VncCanvas.java @@ -105,7 +105,7 @@ class VncCanvas extends Canvas implements Observer { paint(g); } - public void paint(Graphics g) { + public synchronized void paint(Graphics g) { synchronized(memImage) { g.drawImage(memImage, 0, 0, null); } -- 2.39.5