]> source.dussan.org Git - tigervnc.git/commitdiff
Cosmetic change. The background color of the viewport was not being applied properly.
authorBrian Hinz <bphinz@users.sourceforge.net>
Thu, 24 Jan 2013 16:14:01 +0000 (16:14 +0000)
committerBrian Hinz <bphinz@users.sourceforge.net>
Thu, 24 Jan 2013 16:14:01 +0000 (16:14 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5037 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/com/tigervnc/vncviewer/Viewport.java

index bc19b642b64e13290f46505d60e0171705230830..ba29e0ac1bf7d68dc621ee15fa4c8d9a17b7a8b4 100644 (file)
@@ -107,7 +107,7 @@ public class Viewport extends JFrame
     }
     if (!cc.fullScreen)
       setLocation(x, y);
-    setBackground(Color.BLACK);
+    getContentPane().setBackground(Color.BLACK);
   }
 
   public static Window getFullScreenWindow() {