summaryrefslogtreecommitdiff
path: root/cursor.js
diff options
context:
space:
mode:
Diffstat (limited to 'cursor.js')
-rw-r--r--cursor.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/cursor.js b/cursor.js
index cafdf65..71e941d 100644
--- a/cursor.js
+++ b/cursor.js
@@ -80,6 +80,20 @@ SpiceCursorConn.prototype.process_channel_message = function(msg)
return true;
}
+ if (msg.type == SPICE_MSG_CURSOR_RESET)
+ {
+ DEBUG > 1 && console.log("SpiceMsgCursorReset");
+ document.getElementById(this.parent.screen_id).style.cursor = "auto";
+ return true;
+ }
+
+ if (msg.type == SPICE_MSG_CURSOR_INVAL_ALL)
+ {
+ DEBUG > 1 && console.log("SpiceMsgCursorInvalAll");
+ // FIXME - There may be something useful to do here...
+ return true;
+ }
+
return false;
}