Skip to content

core: Initialize XDND later on MetaDisplay

Carlos Garnacho requested to merge wip/carlosg/x11-xdnd-fix into master

Initialization of XDND was added to MetaX11Display initialization on commit 1f133b3e. That's however too soon on X11 sessions, there, MetaX11Display gets initialized before the MetaCompositor does, so looking for the overlay window causes a crash.

Move it later into meta_display_open(), this only happens on X11 compositors, so this is the better place to ensure everything is in place to initialize XDND.

Closes: #672 (closed)

Merge request reports