]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Remove padding which isn't needed anymore
authorSamuel Mannehed <samuel@cendio.se>
Thu, 22 Sep 2016 14:42:14 +0000 (16:42 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Fri, 30 Sep 2016 23:34:30 +0000 (01:34 +0200)
vnc_auto.html

index 492abefc4e078d9ccc1f1998af0ed1b532da3204..48577f55c7e6324542af162192c61b326c8456e0 100644 (file)
@@ -94,9 +94,8 @@
                 var innerW = window.innerWidth;
                 var innerH = window.innerHeight;
                 var controlbarH = document.getElementById('noVNC_status_bar').offsetHeight;
-                var padding = 5;
                 if (innerW !== undefined && innerH !== undefined)
-                    rfb.requestDesktopSize(innerW, innerH - controlbarH - padding);
+                    rfb.requestDesktopSize(innerW, innerH - controlbarH);
             }
         }
         function FBUComplete(rfb, fbu) {