diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2019-07-10 21:13:00 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2019-07-11 10:56:47 +0200 |
commit | 0e3c062406914c6a182b7b05009a6c6d2d56fb5b (patch) | |
tree | 858f18396aa02aa61d49668e3427c4e281916422 | |
parent | 4bc742533279975d6f5235e66dcfbf46f700631e (diff) | |
download | mutter-0e3c062406914c6a182b7b05009a6c6d2d56fb5b.tar.gz |
dnd: Use composite_overlay_window directly
Saves us from using MetaCompositor API, at a point where it might not
be initialized yet. Use the same window directly, since we already
have it handy.
Closes: https://gitlab.gnome.org/GNOME/mutter/issues/672
-rw-r--r-- | src/compositor/meta-dnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/meta-dnd.c b/src/compositor/meta-dnd.c index 2a7302cf8..a202a0fc3 100644 --- a/src/compositor/meta-dnd.c +++ b/src/compositor/meta-dnd.c @@ -118,7 +118,7 @@ meta_dnd_init_xdnd (MetaX11Display *x11_display) Window xwindow, overlay_xwindow; long xdnd_version = 5; - overlay_xwindow = meta_get_overlay_window (x11_display->display); + overlay_xwindow = x11_display->composite_overlay_window; xwindow = meta_backend_x11_get_xwindow (META_BACKEND_X11 (backend)); XChangeProperty (xdisplay, xwindow, |