1997-11-24 22:37:52 +00:00
|
|
|
/* 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
|
1998-04-13 02:02:47 +00:00
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
1997-11-24 22:37:52 +00:00
|
|
|
*/
|
1999-02-24 07:37:18 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Modified by the GTK+ Team and others 1997-1999. See the AUTHORS
|
|
|
|
* file for a list of people on the GTK+ Team. See the ChangeLog
|
|
|
|
* files for a list of changes. These files are distributed with
|
|
|
|
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
|
|
|
*/
|
|
|
|
|
1997-11-24 22:37:52 +00:00
|
|
|
#include <stdio.h>
|
1999-11-08 20:14:59 +00:00
|
|
|
|
1997-11-24 22:37:52 +00:00
|
|
|
#include "gdktypes.h"
|
1999-11-08 20:14:59 +00:00
|
|
|
#include "gdkprivate-x11.h"
|
Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the
* gdk/Makefile.am, gtk/Makefile.am:
Removed DEFS "+=" mess that breaks recent automakes.
INCLUDES is the correct way to add to CFLAGS from Makefile.am.
* gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
gtk/testthreads.c:
Include "config.h" instead of "../config.h".
Now that DEFS works again, automake will automatically pass us
the location of config.h in -I.
1998-11-24 05:58:53 +00:00
|
|
|
#include "config.h"
|
1997-11-24 22:37:52 +00:00
|
|
|
|
1999-11-08 20:14:59 +00:00
|
|
|
gboolean gdk_use_xshm = TRUE;
|
1997-11-24 22:37:52 +00:00
|
|
|
gchar *gdk_display_name = NULL;
|
|
|
|
Display *gdk_display = NULL;
|
|
|
|
gint gdk_screen;
|
|
|
|
Window gdk_root_window;
|
|
|
|
Window gdk_leader_window;
|
|
|
|
Atom gdk_wm_delete_window;
|
|
|
|
Atom gdk_wm_take_focus;
|
|
|
|
Atom gdk_wm_protocols;
|
|
|
|
Atom gdk_wm_window_protocols[2];
|
|
|
|
Atom gdk_selection_property;
|
|
|
|
gchar *gdk_progclass = NULL;
|
1999-11-08 20:14:59 +00:00
|
|
|
gboolean gdk_null_window_warnings = TRUE;
|
1998-05-16 02:13:12 +00:00
|
|
|
|
1999-11-08 20:14:59 +00:00
|
|
|
gboolean gdk_xim_using; /* using XIM Protocol if TRUE */
|
1998-12-16 14:28:05 +00:00
|
|
|
#ifdef USE_XIM
|
1999-11-08 20:14:59 +00:00
|
|
|
GdkICPrivate *gdk_xim_ic; /* currently using IC */
|
1998-12-16 14:28:05 +00:00
|
|
|
#endif /* USE_XIM */
|
1999-11-08 20:14:59 +00:00
|
|
|
GdkWindow *gdk_xim_window; /* currently using Widow */
|
1998-12-15 07:32:11 +00:00
|
|
|
|
|
|
|
GdkWindowPrivate *gdk_xgrab_window = NULL; /* Window that currently holds the
|
|
|
|
* x pointer grab
|
|
|
|
*/
|