gdkglobals-x11.c 1.97 KB
Newer Older
Elliot Lee's avatar
Elliot Lee committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* GDK - The GIMP Drawing Kit
 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
#include <stdio.h>
#include <X11/Xlib.h>
#include "gdktypes.h"
#include "gdkprivate.h"

23
guint             gdk_debug_flags = 0;
Elliot Lee's avatar
Elliot Lee committed
24
25
26
27
28
29
30
31
32
33
34
35
gint              gdk_use_xshm = TRUE;
gchar            *gdk_display_name = NULL;
Display          *gdk_display = NULL;
gint              gdk_screen;
Window            gdk_root_window;
Window            gdk_leader_window;
GdkWindowPrivate  gdk_root_parent;
Atom              gdk_wm_delete_window;
Atom              gdk_wm_take_focus;
Atom              gdk_wm_protocols;
Atom              gdk_wm_window_protocols[2];
Atom              gdk_selection_property;
36
GdkDndCursorInfo  gdk_dnd_cursorinfo = {None, None, NULL, NULL,
37
					{0,0}, {0,0}, NULL};
Elliot Lee's avatar
Elliot Lee committed
38
39
40
GdkDndGlobals     gdk_dnd = {None,None,None,
			     None,None,None,
			     None,
41
			     &gdk_dnd_cursorinfo,
Elliot Lee's avatar
Elliot Lee committed
42
			     NULL,
43
44
45
			     0,
			     FALSE, FALSE, FALSE,
			     None,
46
47
			     {0,0},
			     {0,0}, {0,0},
48
			     {0,0,0,0}, NULL, None, 0};
Elliot Lee's avatar
Elliot Lee committed
49
50
51
gchar            *gdk_progname = NULL;
gchar            *gdk_progclass = NULL;
gint              gdk_error_code;
52
53
gint              gdk_error_warnings = TRUE;
gint              gdk_null_window_warnings = TRUE;
54
GList            *gdk_default_filters = NULL;