]> Pileus Git - ~andy/gtk/blob - gdk/x11/gdkglobals-x11.c
Remove old XIM code.
[~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 Lesser 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  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser 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-2000.  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
29 #include "gdktypes.h"
30 #include "gdkprivate-x11.h"
31 #include "config.h"
32
33 gboolean          gdk_use_xshm = TRUE;
34 gchar            *gdk_display_name = NULL;
35 Display          *gdk_display = NULL;
36 gint              gdk_screen;
37 Window            gdk_root_window;
38 Window            gdk_leader_window;
39 Atom              gdk_wm_delete_window;
40 Atom              gdk_wm_take_focus;
41 Atom              gdk_wm_protocols;
42 Atom              gdk_wm_window_protocols[3];
43 Atom              gdk_selection_property;
44 gchar            *gdk_progclass = NULL;
45 gboolean          gdk_null_window_warnings = TRUE;
46
47 gboolean          gdk_xim_using;                /* using XIM Protocol if TRUE */
48 GdkWindow        *gdk_xim_window;               /* currently using Widow */
49
50 GdkWindowObject *gdk_xgrab_window = NULL;  /* Window that currently holds the
51                                             *   x pointer grab
52                                             */