osdWindow: Make sure the OSD is always our topmost chrome element

In particular this fixes the OSD showing up behind a modal dialog's
lightbox.

https://bugzilla.gnome.org/show_bug.cgi?id=701269
This commit is contained in:
Rui Matos 2013-05-30 14:29:31 +02:00
parent 90c7876341
commit 6c527c1bb4

View File

@ -138,6 +138,7 @@ const OsdWindow = new Lang.Class({
if (!this.actor.visible) {
this.actor.show();
this.actor.opacity = 0;
this.actor.get_parent().set_child_above_sibling(this.actor, null);
Tweener.addTween(this.actor,
{ opacity: 255,