fix a regression introduced by r5025
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5028 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/java/com/tigervnc/vncviewer/DesktopWindow.java b/java/com/tigervnc/vncviewer/DesktopWindow.java
index 2f3e48c..02cb5a7 100644
--- a/java/com/tigervnc/vncviewer/DesktopWindow.java
+++ b/java/com/tigervnc/vncviewer/DesktopWindow.java
@@ -167,7 +167,7 @@
RenderingHints.VALUE_RENDER_SPEED);
g2.drawImage(srcImage, 0, 0, (int)Math.min(cw, bestSize.width),
(int)Math.min(ch, bestSize.height), 0, 0, cursor.width(),
- cursor.height(), this) ;
+ cursor.height(), null) ;
g2.dispose();
srcImage.flush();