aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/vncviewer/DesktopWindow.java
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2013-01-15 22:12:34 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2013-01-15 22:12:34 +0000
commitf5a37f0255693886c1d9ade7ff0e65eea134b03e (patch)
tree71ecef7de0108212d7cc258e7549cff592d6c72b /java/com/tigervnc/vncviewer/DesktopWindow.java
parentcc01b7060d2e01c860869938d7958f29b7e2d854 (diff)
downloadtigervnc-f5a37f0255693886c1d9ade7ff0e65eea134b03e.tar.gz
tigervnc-f5a37f0255693886c1d9ade7ff0e65eea134b03e.zip
fix a regression introduced by r5025
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5028 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/vncviewer/DesktopWindow.java')
-rw-r--r--java/com/tigervnc/vncviewer/DesktopWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/vncviewer/DesktopWindow.java b/java/com/tigervnc/vncviewer/DesktopWindow.java
index 2f3e48c4..02cb5a7c 100644
--- a/java/com/tigervnc/vncviewer/DesktopWindow.java
+++ b/java/com/tigervnc/vncviewer/DesktopWindow.java
@@ -167,7 +167,7 @@ class DesktopWindow extends JPanel implements
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();