]> source.dussan.org Git - tigervnc.git/commitdiff
Remove bogus -geometry width/height adjustment from vncserver script
authorAdam Tkac <atkac@redhat.com>
Thu, 14 Mar 2013 13:41:14 +0000 (13:41 +0000)
committerAdam Tkac <atkac@redhat.com>
Thu, 14 Mar 2013 13:41:14 +0000 (13:41 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5061 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/vncserver

index 85140350dbe4cec7a4dffe43a373349d041af84d..b96273897808e1c922ed8b87f54e5c92f65446b7 100755 (executable)
@@ -373,14 +373,6 @@ sub CheckGeometryAndDepth
            die "$prog: geometry $geometry is invalid\n";
        }
 
-       while (($width % 4)!=0) {
-           $width = $width + 1;
-       }
-
-       while (($height % 2)!=0) {
-           $height = $height + 1;
-       }
-
        $geometry = "${width}x$height";
     } else {
        die "$prog: geometry $geometry is invalid\n";