1 /* GDK - The GIMP Drawing Kit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
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.
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.
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.
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/.
28 * Private uninstalled header defining things local to X windowing code
31 #ifndef __GDK_PRIVATE_X11_H__
32 #define __GDK_PRIVATE_X11_H__
34 #include <gdk/gdkprivate.h>
37 void gdk_xid_table_insert (XID *xid,
39 void gdk_xid_table_remove (XID xid);
40 gint gdk_send_xevent (Window window,
44 GdkGC * _gdk_x11_gc_new (GdkDrawable *drawable,
46 GdkGCValuesMask values_mask);
47 GdkColormap * gdk_colormap_lookup (Colormap xcolormap);
48 GdkVisual * gdk_visual_lookup (Visual *xvisual);
50 void gdk_window_add_colormap_windows (GdkWindow *window);
52 /* Please see gdkwindow.c for comments on how to use */
53 Window gdk_window_xid_at (Window base,
60 Window gdk_window_xid_at_coords (gint x,
65 /* Routines from gdkgeometry-x11.c */
67 void _gdk_window_init_position (GdkWindow *window);
68 void _gdk_window_move_resize_child (GdkWindow *window,
73 void _gdk_window_process_expose (GdkWindow *window,
77 extern GdkDrawableClass _gdk_x11_drawable_class;
78 extern gboolean gdk_use_xshm;
79 extern Atom gdk_wm_delete_window;
80 extern Atom gdk_wm_take_focus;
81 extern Atom gdk_wm_protocols;
82 extern Atom gdk_wm_window_protocols[];
83 extern GdkWindow *selection_owner[];
84 extern gboolean gdk_null_window_warnings;
85 extern const int gdk_nevent_masks;
86 extern const int gdk_event_mask_table[];
88 extern GdkWindowPrivate *gdk_xgrab_window; /* Window that currently holds the
93 extern GdkICPrivate *gdk_xim_ic; /* currently using IC */
94 extern GdkWindow *gdk_xim_window; /* currently using Window */
98 #endif /* __GDK_PRIVATE_X11_H__ */