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.
23  */
24 
25 /*
26  * GTK+ DirectFB backend
27  * Copyright (C) 2001-2002  convergence integrated media GmbH
28  * Copyright (C) 2002-2004  convergence GmbH
29  * Written by Denis Oliver Kropp <dok@convergence.de> and
30  *            Sven Neumann <sven@convergence.de>
31  */
32 
33 #include "config.h"
34 #include "gdk.h"
35 
36 #include "gdkdirectfb.h"
37 #include "gdkprivate-directfb.h"
38 
39 #include "gdkalias.h"
40 
41 
42 GdkDisplayDFB *_gdk_display = NULL;
43 GdkScreen     *_gdk_screen  = NULL;
44 
45 gboolean gdk_directfb_apply_focus_opacity = FALSE;
46 gboolean gdk_directfb_enable_color_keying = FALSE;
47 DFBColor gdk_directfb_bg_color            = { 0, 0, 0, 0 };
48 DFBColor gdk_directfb_bg_color_key        = { 0, 0, 0, 0 };
49 gboolean gdk_directfb_monochrome_fonts    = FALSE;
50 
51 GdkWindow    *_gdk_directfb_pointer_grab_window        = NULL;
52 GdkWindow    *_gdk_directfb_keyboard_grab_window       = NULL;
53 GdkWindow    *_gdk_directfb_pointer_grab_confine       = NULL;
54 gboolean      _gdk_directfb_pointer_grab_owner_events  = FALSE;
55 gboolean      _gdk_directfb_keyboard_grab_owner_events = FALSE;
56 GdkEventMask  _gdk_directfb_pointer_grab_events        = 0;
57 GdkEventMask  _gdk_directfb_keyboard_grab_events       = 0;
58 GdkCursor    *_gdk_directfb_pointer_grab_cursor        = NULL;
59 
60 GdkAtom _gdk_selection_property = 0;
61 
62 #include "gdkaliasdef.c"
63