]> Pileus Git - ~andy/gtk/blob - gdk/gdkglobals.c
Miguel, try this - I think it should do what you need. Hurry hurry :)
[~andy/gtk] / gdk / gdkglobals.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 guint             gdk_debug_flags = 0;
24 gint              gdk_use_xshm = TRUE;
25 gchar            *gdk_display_name = NULL;
26 Display          *gdk_display = NULL;
27 gint              gdk_screen;
28 Window            gdk_root_window;
29 Window            gdk_leader_window;
30 GdkWindowPrivate  gdk_root_parent;
31 Atom              gdk_wm_delete_window;
32 Atom              gdk_wm_take_focus;
33 Atom              gdk_wm_protocols;
34 Atom              gdk_wm_window_protocols[2];
35 Atom              gdk_selection_property;
36 GdkDndCursorInfo  gdk_dnd_cursorinfo = {None, None, NULL, NULL,
37                                         {0,0}, {0,0}};
38 GdkDndGlobals     gdk_dnd = {None,None,None,
39                              None,None,None,
40                              None,
41                              &gdk_dnd_cursorinfo,
42                              NULL,
43                              0,
44                              FALSE, FALSE, FALSE,
45                              None,
46                              {0,0},
47                              {0,0}, {0,0},
48                              {0,0,0,0}, NULL, None, 0};
49 gchar            *gdk_progname = NULL;
50 gchar            *gdk_progclass = NULL;
51 gint              gdk_error_code;
52 gint              gdk_error_warnings = TRUE;
53 gint              gdk_null_window_warnings = TRUE;
54 GList            *gdk_default_filters = NULL;