GUACAMOLE-230: Supply oncursor event with new canvas (having correct 
dimensions).

Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/69ff583a
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/69ff583a
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/69ff583a

Branch: refs/heads/staging/0.9.12-incubating
Commit: 69ff583a07c6644f75cd404c2c94a16489b88b3b
Parents: c2f7fdb
Author: Michael Jumper <[email protected]>
Authored: Sat Mar 4 20:36:24 2017 -0800
Committer: Michael Jumper <[email protected]>
Committed: Sat Mar 4 20:36:24 2017 -0800

----------------------------------------------------------------------
 guacamole-common-js/src/main/webapp/modules/Display.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/69ff583a/guacamole-common-js/src/main/webapp/modules/Display.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/Display.js 
b/guacamole-common-js/src/main/webapp/modules/Display.js
index f14c6bf..2c9ede6 100644
--- a/guacamole-common-js/src/main/webapp/modules/Display.js
+++ b/guacamole-common-js/src/main/webapp/modules/Display.js
@@ -423,7 +423,7 @@ Guacamole.Display = function() {
 
             // Fire cursor change event
             if (guac_display.oncursor)
-                guac_display.oncursor(cursor.getCanvas(), hotspotX, hotspotY);
+                guac_display.oncursor(cursor.toCanvas(), hotspotX, hotspotY);
 
         });
     };

Reply via email to