mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
compositor: Add MetaDnD private function to initialize XDND
We need to set XdndAware and XdndProxy on the stage window if running a X11 compositor, this is not necessary on wayland. Takes over gnome-shell code doing this initialization. https://gitlab.gnome.org/GNOME/mutter/merge_requests/667
This commit is contained in:

committed by
Carlos Garnacho

parent
84616bef27
commit
1f133b3ed2
@ -30,6 +30,8 @@ gboolean meta_dnd_handle_xdnd_event (MetaBackend *backend,
|
||||
Display *xdisplay,
|
||||
XEvent *xev);
|
||||
|
||||
void meta_dnd_init_xdnd (MetaX11Display *x11_display);
|
||||
|
||||
#ifdef HAVE_WAYLAND
|
||||
void meta_dnd_wayland_handle_begin_modal (MetaCompositor *compositor);
|
||||
void meta_dnd_wayland_handle_end_modal (MetaCompositor *compositor);
|
||||
|
Reference in New Issue
Block a user