VNC window patch

frantek

Renowned Member
May 30, 2009
185
7
83
Hi,

I've created a micro patch for /usr/share/pve-manager/root/qemu/vnc-direct.htm I've the problem that the VNC windows are too small and scrollbars are generated. The generated window is exactly 2 pixel to small. I've changed lines 57 and 58 to:

Code:
   var offsetw = aw - ow + 2;
   var offseth = ah - oh + 2;
This solved the problem.

MH