[gnome-shell] layout: Remove use of skip_paint



commit 402f2d939cc33f5a7d17f187c0ea49aa9b229563
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat May 18 19:23:46 2013 -0400

    layout: Remove use of skip_paint
    
    We no longer use this on the uiGroup.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700735

 js/ui/layout.js |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 7ae6d49..0d339d9 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -960,13 +960,8 @@ const LayoutManager = new Lang.Class({
             w = Math.round(w);
             h = Math.round(h);
 
-            if (actorData.affectsInputRegion && wantsInputRegion) {
-                let rect = new Meta.Rectangle({ x: x, y: y, width: w, height: h});
-
-                if (actorData.actor.get_paint_visibility() &&
-                    !this.uiGroup.get_skip_paint(actorData.actor))
-                    rects.push(rect);
-            }
+            if (actorData.affectsInputRegion && wantsInputRegion && actorData.actor.get_paint_visibility())
+                rects.push(new Meta.Rectangle({ x: x, y: y, width: w, height: h }));
 
             if (actorData.affectsStruts) {
                 // Limit struts to the size of the screen


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