From 69ff583a07c6644f75cd404c2c94a16489b88b3b Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sat, 4 Mar 2017 20:36:24 -0800 Subject: [PATCH] GUACAMOLE-230: Supply oncursor event with new canvas (having correct dimensions). --- guacamole-common-js/src/main/webapp/modules/Display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guacamole-common-js/src/main/webapp/modules/Display.js b/guacamole-common-js/src/main/webapp/modules/Display.js index f14c6bf56..2c9ede6d8 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); }); };