1 /* GDK - The GIMP Drawing Kit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
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.
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.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
22 #include "gdkprivate.h"
23 #include "../config.h"
25 guint gdk_debug_flags = 0;
26 gint gdk_use_xshm = TRUE;
27 gchar *gdk_display_name = NULL;
28 Display *gdk_display = NULL;
30 Window gdk_root_window;
31 Window gdk_leader_window;
32 GdkWindowPrivate gdk_root_parent = { { NULL, }, NULL, };
33 Atom gdk_wm_delete_window;
34 Atom gdk_wm_take_focus;
35 Atom gdk_wm_protocols;
36 Atom gdk_wm_window_protocols[2];
37 Atom gdk_selection_property;
38 GdkDndCursorInfo gdk_dnd_cursorinfo = {None, None, NULL, NULL,
40 GdkDndGlobals gdk_dnd = {None,None,None,
50 {0,0,0,0}, NULL, None, 0};
51 gchar *gdk_progclass = NULL;
53 gint gdk_error_warnings = TRUE;
54 gint gdk_null_window_warnings = TRUE;
55 GList *gdk_default_filters = NULL;
57 gboolean gdk_using_threads = FALSE;
59 /* Used to signal the mainloop thread from its select() */
61 gint gdk_threads_pipe[2];
62 gboolean gdk_select_waiting = FALSE;