2012-01-07 17:21:32 -05:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Intel Corporation
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
* 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef META_XWAYLAND_PRIVATE_H
|
|
|
|
#define META_XWAYLAND_PRIVATE_H
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
2018-07-10 04:36:24 -04:00
|
|
|
#include "wayland/meta-wayland-private.h"
|
|
|
|
|
2012-01-07 17:21:32 -05:00
|
|
|
gboolean
|
2019-05-24 14:52:17 -04:00
|
|
|
meta_xwayland_init (MetaXWaylandManager *manager,
|
|
|
|
struct wl_display *display);
|
2012-01-07 17:21:32 -05:00
|
|
|
|
2013-08-12 09:31:18 -04:00
|
|
|
void
|
2019-08-19 09:36:32 -04:00
|
|
|
meta_xwayland_complete_init (MetaDisplay *display,
|
|
|
|
Display *xdisplay);
|
2013-08-12 09:31:18 -04:00
|
|
|
|
2012-01-07 17:21:32 -05:00
|
|
|
void
|
2019-05-24 14:52:17 -04:00
|
|
|
meta_xwayland_shutdown (MetaXWaylandManager *manager);
|
2012-01-07 17:21:32 -05:00
|
|
|
|
2014-10-10 12:55:00 -04:00
|
|
|
/* wl_data_device/X11 selection interoperation */
|
2018-11-21 19:33:13 -05:00
|
|
|
void meta_xwayland_init_dnd (void);
|
|
|
|
void meta_xwayland_shutdown_dnd (void);
|
|
|
|
gboolean meta_xwayland_dnd_handle_event (XEvent *xevent);
|
2014-10-10 12:55:00 -04:00
|
|
|
|
2015-04-29 11:44:05 -04:00
|
|
|
const MetaWaylandDragDestFuncs * meta_xwayland_selection_get_drag_dest_funcs (void);
|
|
|
|
|
2012-01-07 17:21:32 -05:00
|
|
|
#endif /* META_XWAYLAND_PRIVATE_H */
|