gdkglobals-x11.c 1.66 KB
Newer Older
Elliot Lee's avatar
Elliot Lee committed
1
2
3
4
/* 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
5
 * modify it under the terms of the GNU Lesser General Public
Elliot Lee's avatar
Elliot Lee committed
6
7
8
9
10
11
 * 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
12
 * Lesser General Public License for more details.
Elliot Lee's avatar
Elliot Lee committed
13
 *
14
 * You should have received a copy of the GNU Lesser General Public
15
16
17
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
Elliot Lee's avatar
Elliot Lee committed
18
 */
19
20

/*
21
 * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
22
23
24
25
26
 * 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/. 
 */

Elliot Lee's avatar
Elliot Lee committed
27
#include <stdio.h>
28

Elliot Lee's avatar
Elliot Lee committed
29
#include "gdktypes.h"
30
#include "gdkprivate-x11.h"
31
#include "config.h"
Elliot Lee's avatar
Elliot Lee committed
32

33
34
gboolean          _gdk_use_xshm = TRUE;
gchar            *_gdk_display_name = NULL;
Elliot Lee's avatar
Elliot Lee committed
35
Display          *gdk_display = NULL;
36
37
38
39
gint              _gdk_screen;
Window            _gdk_root_window;
Window            _gdk_leader_window;
Atom              _gdk_wm_window_protocols[3];
40
GdkAtom           _gdk_selection_property;
Owen Taylor's avatar
Owen Taylor committed
41

42
GdkWindowObject *_gdk_xgrab_window = NULL;  /* Window that currently holds the
43
44
                                            *	x pointer grab
                                            */