layout: Remove use of skip_paint
We no longer use this on the uiGroup. https://bugzilla.gnome.org/show_bug.cgi?id=700735
This commit is contained in:
parent
374aee75d8
commit
402f2d939c
@ -960,13 +960,8 @@ const LayoutManager = new Lang.Class({
|
|||||||
w = Math.round(w);
|
w = Math.round(w);
|
||||||
h = Math.round(h);
|
h = Math.round(h);
|
||||||
|
|
||||||
if (actorData.affectsInputRegion && wantsInputRegion) {
|
if (actorData.affectsInputRegion && wantsInputRegion && actorData.actor.get_paint_visibility())
|
||||||
let rect = new Meta.Rectangle({ x: x, y: y, width: w, height: h});
|
rects.push(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.affectsStruts) {
|
if (actorData.affectsStruts) {
|
||||||
// Limit struts to the size of the screen
|
// Limit struts to the size of the screen
|
||||||
|
Loading…
Reference in New Issue
Block a user