source: trunk/third/gtk/gdk/gdkglobals.c @ 14482

Revision 14482, 2.8 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14481, which included commits to RCS files with non-trunk default branches.
Line 
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
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
18 */
19
20/*
21 * Modified by the GTK+ Team and others 1997-1999.  See the AUTHORS
22 * file for a list of people on the GTK+ Team.  See the ChangeLog
23 * files for a list of changes.  These files are distributed with
24 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
25 */
26
27#include <stdio.h>
28#include <X11/Xlib.h>
29#include "gdktypes.h"
30#include "gdkprivate.h"
31#include "config.h"
32
33guint             gdk_debug_flags = 0;
34gint              gdk_use_xshm = TRUE;
35gchar            *gdk_display_name = NULL;
36Display          *gdk_display = NULL;
37gint              gdk_screen;
38Window            gdk_root_window;
39Window            gdk_leader_window;
40GdkWindowPrivate  gdk_root_parent = { { NULL, }, NULL, };
41Atom              gdk_wm_delete_window;
42Atom              gdk_wm_take_focus;
43Atom              gdk_wm_protocols;
44Atom              gdk_wm_window_protocols[2];
45Atom              gdk_selection_property;
46GdkDndCursorInfo  gdk_dnd_cursorinfo = {None, None, NULL, NULL,
47                                        {0,0}, {0,0}, NULL};
48GdkDndGlobals     gdk_dnd = {None,None,None,
49                             None,None,None,
50                             None,
51                             &gdk_dnd_cursorinfo,
52                             NULL,
53                             0,
54                             FALSE, FALSE, FALSE,
55                             None,
56                             {0,0},
57                             {0,0}, {0,0},
58                             {0,0,0,0}, NULL, None, 0};
59gchar            *gdk_progclass = NULL;
60gint              gdk_error_code = 0;
61gint              gdk_error_warnings = TRUE;
62gint              gdk_null_window_warnings = TRUE;
63GList            *gdk_default_filters = NULL;
64
65gboolean      gdk_xim_using;            /* using XIM Protocol if TRUE */
66#ifdef USE_XIM
67GdkICPrivate *gdk_xim_ic;               /* currently using IC */
68#endif /* USE_XIM */
69GdkWindow    *gdk_xim_window;           /* currently using Widow */
70
71GdkWindowPrivate *gdk_xgrab_window = NULL;  /* Window that currently holds the
72                                             *  x pointer grab
73                                             */
74
75GMutex *gdk_threads_mutex = NULL;          /* Global GDK lock */
76
77#ifdef USE_XIM
78GdkICPrivate *gdk_xim_ic;               /* currently using IC */
79GdkWindow *gdk_xim_window;              /* currently using Window */
80#endif
81
Note: See TracBrowser for help on using the repository browser.