cleanup: Replace deprecated lower/raise calls
Those methods have been deprecated for a long time, so move to the drop-in replacement. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/808
This commit is contained in:
@ -338,7 +338,7 @@ var _Draggable = class _Draggable {
|
||||
if (this.actor._delegate && this.actor._delegate.getDragActor) {
|
||||
this._dragActor = this.actor._delegate.getDragActor();
|
||||
Main.uiGroup.add_child(this._dragActor);
|
||||
this._dragActor.raise_top();
|
||||
Main.uiGroup.set_child_above_sibling(this._dragActor, null);
|
||||
Shell.util_set_hidden_from_pick(this._dragActor, true);
|
||||
|
||||
// Drag actor does not always have to be the same as actor. For example drag actor
|
||||
@ -388,7 +388,7 @@ var _Draggable = class _Draggable {
|
||||
|
||||
this._dragOrigParent.remove_actor(this._dragActor);
|
||||
Main.uiGroup.add_child(this._dragActor);
|
||||
this._dragActor.raise_top();
|
||||
Main.uiGroup.set_child_above_sibling(this._dragActor, null);
|
||||
Shell.util_set_hidden_from_pick(this._dragActor, true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user