Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for vmware

  • Loading branch information...
commit c07660792e0552de26f2dc75015472aa492e6370 1 parent 954689b
Peteris Krumins pkrumins authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 lib/messages.js
9 lib/messages.js
View
@@ -50,6 +50,15 @@ exports.serverMsg[serverMsgTypes.fbUpdate] = function (rfb, opts) {
.loop(function (end, vars) {
if (vars.index >= vars.nRects) {
rfb.emit('endRects', vars.nRects);
+ if (rfb.engine == 'vmware') {
+ rfb.dimensions(function (dims) {
+ rfb.subscribe({
+ x : 0, y : 0,
+ width : dims.width,
+ height : dims.height,
+ });
+ });
+ }
end();
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.