]> Pileus Git - ~andy/gtk/blob - gdk/x11/gdkglobals-x11.c
Initial revision
[~andy/gtk] / gdk / x11 / gdkglobals-x11.c
1 /* GDK - The GIMP Drawing Kit
2  * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
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, write to the Free
16  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18 #include <stdio.h>
19 #include <X11/Xlib.h>
20 #include "gdktypes.h"
21 #include "gdkprivate.h"
22
23 gint              gdk_debug_level = 0;
24 gint              gdk_show_events = FALSE;
25 gint              gdk_use_xshm = TRUE;
26 gchar            *gdk_display_name = NULL;
27 Display          *gdk_display = NULL;
28 gint              gdk_screen;
29 Window            gdk_root_window;
30 Window            gdk_leader_window;
31 GdkWindowPrivate  gdk_root_parent;
32 Atom              gdk_wm_delete_window;
33 Atom              gdk_wm_take_focus;
34 Atom              gdk_wm_protocols;
35 Atom              gdk_wm_window_protocols[2];
36 Atom              gdk_selection_property;
37 GdkDndGlobals     gdk_dnd = {None,None,None,
38                              None,None,None,
39                              None,
40                              None,None,
41                              NULL,
42                              0, 0,
43                              {0,0}};
44 gchar            *gdk_progname = NULL;
45 gchar            *gdk_progclass = NULL;
46 gint              gdk_error_code;
47 gint              gdk_error_warnings = TRUE;