[gtk+/broadway: 236/246] broadway: Start windows transparent rather than black



commit 63c0198347bf8a2d900e838c79e8a8fe54c10950
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Mar 14 16:04:34 2011 +0100

    broadway: Start windows transparent rather than black
    
    This avoids flashing

 gdk/broadway/broadway.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gdk/broadway/broadway.js b/gdk/broadway/broadway.js
index affb687..eac55da 100644
--- a/gdk/broadway/broadway.js
+++ b/gdk/broadway/broadway.js
@@ -100,7 +100,6 @@ function initContext(canvas, x, y, id)
   canvas.style["display"] = "none";
   var context = canvas.getContext("2d");
   context.globalCompositeOperation = "src-over";
-  context.fillRect(0, 0, canvas.width, canvas.height);
   document.body.appendChild(canvas);
 
   return context;



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