summaryrefslogtreecommitdiff
path: root/src/wayland/meta-xwayland-dnd-private.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2018-11-22 01:33:13 +0100
committerCarlos Garnacho <carlosg@gnome.org>2019-05-02 16:31:45 +0200
commit17d00d49d49d49bdac0fafcf8047ad997f801cd6 (patch)
tree8d672ef08e35266b0ad4288284b0fc36d3db8a42 /src/wayland/meta-xwayland-dnd-private.h
parent634f512bb09df2834f58c3463f7ba43bff83b5cf (diff)
downloadmutter-17d00d49d49d49bdac0fafcf8047ad997f801cd6.tar.gz
wayland: Reduce MetaXWaylandSelection to just DnD
All the actual selection management functionality is superseded by MetaSelection. Reduce it to just handling the XDND messaging and leave selections to MetaSelection. https://gitlab.gnome.org/GNOME/mutter/merge_requests/320
Diffstat (limited to 'src/wayland/meta-xwayland-dnd-private.h')
-rw-r--r--src/wayland/meta-xwayland-dnd-private.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/wayland/meta-xwayland-dnd-private.h b/src/wayland/meta-xwayland-dnd-private.h
new file mode 100644
index 000000000..b55b4f8d3
--- /dev/null
+++ b/src/wayland/meta-xwayland-dnd-private.h
@@ -0,0 +1,34 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
+/*
+ * Copyright (C) 2015 Red Hat
+ *
+ * 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.
+ *
+ * Written by:
+ * Jonas Ã…dahl <jadahl@gmail.com>
+ */
+
+#ifndef META_XWAYLAND_SELECTION_PRIVATE_H
+#define META_XWAYLAND_SELECTION_PRIVATE_H
+
+#define META_TYPE_WAYLAND_DATA_SOURCE_XWAYLAND (meta_wayland_data_source_xwayland_get_type ())
+G_DECLARE_FINAL_TYPE (MetaWaylandDataSourceXWayland,
+ meta_wayland_data_source_xwayland,
+ META, WAYLAND_DATA_SOURCE_XWAYLAND,
+ MetaWaylandDataSource);
+
+#endif /* META_XWAYLAND_SELECTION_PRIVATE_H */