mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
window-actor: Remove outdated code path
The shadow is added in the paint step, not as a separate actor, so the raise is a no-op. It also gets rid of an annoying misspelling that's driving me crazy.
This commit is contained in:
parent
78741846a4
commit
56aae17b46
@ -392,14 +392,6 @@ meta_window_actor_constructed (GObject *object)
|
||||
g_signal_connect_object (window, "notify::appears-focused",
|
||||
G_CALLBACK (window_appears_focused_notify), self, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
* This is the case where existing window is gaining/loosing frame.
|
||||
* Just ensure the actor is top most (i.e., above shadow).
|
||||
*/
|
||||
clutter_actor_set_child_above_sibling (CLUTTER_ACTOR (self), priv->actor, NULL);
|
||||
}
|
||||
|
||||
meta_window_actor_update_opacity (self);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user