[gtk+] [broadway] Fix some typos in the js code



commit 69eafcc3c5a86bd1bcfdfbf9b5e6ba2be657f2ab
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Apr 8 11:45:16 2011 +0200

    [broadway] Fix some typos in the js code

 gdk/broadway/broadway.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/broadway/broadway.js b/gdk/broadway/broadway.js
index 1a485d8..4a9b054 100644
--- a/gdk/broadway/broadway.js
+++ b/gdk/broadway/broadway.js
@@ -447,7 +447,7 @@ function cmdMoveSurface(id, x, y)
 	     * However this isn't *strictly* invalid, as any WM could have done whatever it
 	     * wanted with the positioning of the window.
 	     */
-	    //surface.window.moveTo(surface.x, surface.y);
+	    surface.window.moveTo(surface.x, surface.y);
 	} else {
 	    var xOffset = surface.x;
 	    var yOffset = surface.y;
@@ -934,7 +934,7 @@ function connect()
 	    } else {
 		w = window.innerWidth;
 		h = window.innerHeight;
-		win.onresize = function(ev) { 
+		window.onresize = function(ev) { 
 		    var w, h;
 		    w = window.innerWidth;
 		    h = window.innerHeight;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]