mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
build: Fix non-wayland builds
meta_dnd_wayland_handle_end_modal is not available on non-wayland build. https://bugzilla.gnome.org/show_bug.cgi?id=791916
This commit is contained in:
parent
798026498d
commit
6cc48d8cbb
@ -419,11 +419,13 @@ meta_end_modal_for_plugin (MetaCompositor *compositor,
|
||||
meta_backend_ungrab_device (backend, META_VIRTUAL_CORE_POINTER_ID, timestamp);
|
||||
meta_backend_ungrab_device (backend, META_VIRTUAL_CORE_KEYBOARD_ID, timestamp);
|
||||
|
||||
#ifdef HAVE_WAYLAND
|
||||
if (meta_is_wayland_compositor ())
|
||||
{
|
||||
meta_dnd_wayland_handle_end_modal (compositor);
|
||||
meta_display_sync_wayland_input_focus (display);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user