[gtk+/broadway: 237/246] broadway: Fix undefined variable error in js



commit a5e5e2343c274bfb946c8c59b018778c92e29afb
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Mar 14 16:38:24 2011 +0100

    broadway: Fix undefined variable error in js

 gdk/broadway/broadway.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/broadway/broadway.js b/gdk/broadway/broadway.js
index eac55da..dd38d39 100644
--- a/gdk/broadway/broadway.js
+++ b/gdk/broadway/broadway.js
@@ -526,7 +526,7 @@ function on_mouse_up (ev) {
     send_input ("B", [id, pos.root_x, pos.root_y, pos.win_x, pos.win_y, last_state, ev.timeStamp, button]);
 
     if (grab.window != null && grab.implicit)
-	doUngrab(time);
+	doUngrab(ev.timeStamp);
 }
 
 var last_key_down = 0;



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