1 /* 2 * Copyright © 2016 Red Hat, Inc 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Library General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Library General Public License for more details. 13 * 14 * You should have received a copy of the GNU Library General Public 15 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef __GDK_X11_MONITOR_PRIVATE_H__ 19 #define __GDK_X11_MONITOR_PRIVATE_H__ 20 21 #include <glib.h> 22 #include <gio/gio.h> 23 #include <X11/Xlib.h> 24 25 #include "gdkmonitorprivate.h" 26 27 #include "gdkx11monitor.h" 28 29 30 struct _GdkX11Monitor 31 { 32 GdkMonitor parent; 33 34 XID output; 35 guint add : 1; 36 guint remove : 1; 37 }; 38 39 struct _GdkX11MonitorClass { 40 GdkMonitorClass parent_class; 41 }; 42 43 #endif 44