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 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.
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.
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.
21 * Modified by the GTK+ Team and others 1997-2000. 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_BROADWAY_H__
32 #define __GDK_PRIVATE_BROADWAY_H__
34 #include <gdk/gdkcursor.h>
35 #include <gdk/gdkprivate.h>
36 #include <gdk/gdkinternals.h>
37 #include "gdkwindow-broadway.h"
38 #include "gdkdisplay-broadway.h"
40 typedef struct _GdkCursorPrivate GdkCursorPrivate;
42 void _gdk_broadway_resync_windows (void);
44 struct _GdkCursorPrivate
50 gboolean _gdk_broadway_window_queue_antiexpose (GdkWindow *window,
51 cairo_region_t *area);
52 void _gdk_broadway_window_translate (GdkWindow *window,
57 void _gdk_selection_window_destroyed (GdkWindow *window);
59 void _gdk_keymap_keys_changed (GdkDisplay *display);
60 gint _gdk_broadway_get_group_for_state (GdkDisplay *display,
61 GdkModifierType state);
62 void _gdk_keymap_add_virtual_modifiers_compat (GdkKeymap *keymap,
63 GdkModifierType *modifiers);
64 gboolean _gdk_keymap_key_is_modifier (GdkKeymap *keymap,
67 void _gdk_broadway_initialize_locale (void);
69 void _gdk_screen_broadway_events_init (GdkScreen *screen);
71 void _gdk_events_init (GdkDisplay *display);
72 void _gdk_events_uninit (GdkDisplay *display);
73 void _gdk_events_got_input (GdkDisplay *display,
76 void _gdk_windowing_window_init (GdkScreen *screen);
77 void _gdk_visual_init (GdkScreen *screen);
78 void _gdk_dnd_init (GdkDisplay *display);
80 void _gdk_broadway_cursor_update_theme (GdkCursor *cursor);
81 void _gdk_broadway_cursor_display_finalize (GdkDisplay *display);
83 #define GDK_SCREEN_DISPLAY(screen) (GDK_SCREEN_BROADWAY (screen)->display)
84 #define GDK_WINDOW_SCREEN(win) (GDK_WINDOW_IMPL_BROADWAY (((GdkWindow *)win)->impl)->screen)
85 #define GDK_WINDOW_DISPLAY(win) (GDK_SCREEN_BROADWAY (GDK_WINDOW_SCREEN (win))->display)
86 #define GDK_WINDOW_IS_BROADWAY(win) (GDK_IS_WINDOW_IMPL_BROADWAY (((GdkWindow *)win)->impl))
88 #endif /* __GDK_PRIVATE_BROADWAY_H__ */