shell: Drop XDND initialization code

Let mutter take over this, and drop this piece of backend-specific
code.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/611
This commit is contained in:
Carlos Garnacho
2019-07-03 16:28:00 +02:00
parent 915415d919
commit 8a22092632
3 changed files with 1 additions and 40 deletions

View File

@ -17,9 +17,6 @@ var XdndHandler = class {
Main.uiGroup.add_actor(this._dummy);
this._dummy.hide();
if (!Meta.is_wayland_compositor())
global.init_xdnd();
var dnd = Meta.get_backend().get_dnd();
dnd.connect('dnd-enter', this._onEnter.bind(this));
dnd.connect('dnd-position-change', this._onPositionChanged.bind(this));