[gnome-shell] screenShield: Ensure we destroy background container widgets
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] screenShield: Ensure we destroy background container widgets
- Date: Fri, 5 Apr 2013 22:24:10 +0000 (UTC)
commit 1ee88a2878b6e7484bc68a50d9ed8a0e105395a1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Apr 4 16:59:39 2013 -0400
screenShield: Ensure we destroy background container widgets
We may accidentally leak a widget when monitors change while
locked otherwise. This is especially bad because we put a
box-shadow on this widget.
https://bugzilla.gnome.org/show_bug.cgi?id=697300
js/ui/screenShield.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index f8bf3cc..d7e020b 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -562,6 +562,7 @@ const ScreenShield = new Lang.Class({
this._bgManagers[i].destroy();
this._bgManagers = [];
+ this._backgroundGroup.destroy_all_children();
for (let i = 0; i < Main.layoutManager.monitors.length; i++)
this._createBackground(i);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]