summaryrefslogtreecommitdiff
path: root/src/meta/meta-x11-display.h
diff options
context:
space:
mode:
authorArmin Krezović <krezovic.armin@gmail.com>2017-08-26 18:24:46 +0200
committerJonas Ådahl <jadahl@gmail.com>2018-07-06 19:47:16 +0200
commit3d2b9a3a69e4fa7b3a4a837600826b109c0a0dea (patch)
treea6974a226f6b5ca81abc7696e1a37df373770f0b /src/meta/meta-x11-display.h
parent15fa7816bd010a4d651218b17db2c4cb497240cc (diff)
downloadmutter-3d2b9a3a69e4fa7b3a4a837600826b109c0a0dea.tar.gz
Add MetaX11Display skeleton
Also reorder meta_display_open () and meta_display_close () to sort X11 and non-X11 specific members. https://bugzilla.gnome.org/show_bug.cgi?id=759538
Diffstat (limited to 'src/meta/meta-x11-display.h')
-rw-r--r--src/meta/meta-x11-display.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/meta/meta-x11-display.h b/src/meta/meta-x11-display.h
new file mode 100644
index 000000000..2ecd694c1
--- /dev/null
+++ b/src/meta/meta-x11-display.h
@@ -0,0 +1,33 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
+/*
+ * Copyright (C) 2008 Iain Holmes
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef META_X11_DISPLAY_H
+#define META_X11_DISPLAY_H
+
+#include <glib-object.h>
+#include <X11/Xlib.h>
+
+#include <meta/common.h>
+#include <meta/prefs.h>
+#include <meta/types.h>
+
+#define META_TYPE_X11_DISPLAY (meta_x11_display_get_type ())
+G_DECLARE_FINAL_TYPE (MetaX11Display, meta_x11_display, META, X11_DISPLAY, GObject)
+
+#endif /* META_X11_DISPLAY_H */