From 402f2d939cc33f5a7d17f187c0ea49aa9b229563 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 18 May 2013 19:23:46 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+), 7 deletions(-) diff --git a/js/ui/layout.js b/js/ui/layout.js index 7ae6d49d4..0d339d921 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