Debian Codegraph @

gdk/broadway/gdkdisplay-broadway.h

raw
1 /*
2 * gdkdisplay-broadway.h
3 *
4 * Copyright 2001 Sun Microsystems Inc.
5 *
6 * Erwann Chenede <[email protected]>
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
17 *
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 #ifndef __GDK_BROADWAY_DISPLAY__
23 #define __GDK_BROADWAY_DISPLAY__
24
25 #include "gdkbroadwaydisplay.h"
26
27 #include "gdkdisplayprivate.h"
28 #include "gdkkeys.h"
29 #include "gdkwindow.h"
30 #include "gdkinternals.h"
31 #include "gdkmain.h"
32 #include "gdkbroadway-server.h"
33 #include "gdkmonitorprivate.h"
34
35 G_BEGIN_DECLS
36
37 struct _GdkBroadwayDisplay
38 {
39 GdkDisplay parent_instance;
40 GdkScreen *default_screen;
41 GdkScreen **screens;
42
43 GHashTable *id_ht;
44 GList *toplevels;
45
46 GSource *event_source;
47
48 /* Keyboard related information */
49 GdkKeymap *keymap;
50
51 /* drag and drop information */
52 GdkDragContext *current_dest_drag;
53
54 /* The offscreen window that has the pointer in it (if any) */
55 GdkWindow *active_offscreen_window;
56
57 GdkBroadwayServer *server;
58
59 gpointer move_resize_data;
60
61 GdkMonitor *monitor;
62 };
63
64 struct _GdkBroadwayDisplayClass
65 {
66 GdkDisplayClass parent_class;
67 };
68
69 G_END_DECLS
70
71 #endif /* __GDK_BROADWAY_DISPLAY__ */