]> Pileus Git - ~andy/gtk/blob - gdk/win32/gdkglobals-win32.c
f96b092b711b346b453e585e2bd6183198768e32
[~andy/gtk] / gdk / win32 / gdkglobals-win32.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
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 <gdk/gdk.h>
29 #include "gdkprivate.h"
30
31 guint             gdk_debug_flags = 0;
32 HWND              gdk_root_window;
33 HWND              gdk_leader_window;
34 GdkWindowPrivate  gdk_root_parent = { { NULL, }, NULL, };
35 HDC               gdk_DC;
36 HINSTANCE         gdk_DLLInstance;
37 HINSTANCE         gdk_ProgInstance;
38 UINT              gdk_selection_notify_msg;
39 UINT              gdk_selection_request_msg;
40 UINT              gdk_selection_clear_msg;
41 GdkAtom           gdk_clipboard_atom;
42 GdkAtom           gdk_win32_dropfiles_atom;
43 GdkAtom           gdk_ole2_dnd_atom;
44 Atom              gdk_selection_property;
45 gchar            *gdk_progclass = NULL;
46 gint              gdk_error_code;
47 gint              gdk_error_warnings = TRUE;
48 gint              gdk_null_window_warnings = TRUE;
49 GList            *gdk_default_filters = NULL;
50
51 gboolean      gdk_xim_using;            /* using XIM Protocol if TRUE */
52 GdkWindow    *gdk_xim_window;           /* currently using Widow */
53
54 GdkWindowPrivate *gdk_xgrab_window = NULL;  /* Window that currently holds the
55                                              *  x pointer grab
56                                              */
57
58 GMutex *gdk_threads_mutex = NULL;          /* Global GDK lock */
59
60 #ifdef USE_XIM
61 GdkICPrivate *gdk_xim_ic;               /* currently using IC */
62 GdkWindow *gdk_xim_window;              /* currently using Window */
63 #endif