summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplay.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-02-20 01:36:50 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-02-20 01:36:50 +0000
commit1ad93a683b7f00c532a522dcf7a0107e4cd28ee5 (patch)
tree3bb73727e7f2cb56eef2457699eac1f70562f95e /gdk/gdkdisplay.h
parent2447b0365ece05c8d1a7247313530aacf6bbb4f2 (diff)
downloadgtk+-1ad93a683b7f00c532a522dcf7a0107e4cd28ee5.tar.gz
Support input shapes: (#331070)
2006-02-19 Matthias Clasen <mclasen@redhat.com> Support input shapes: (#331070) * gdk/gdk.symbols: * gdk/gdkdisplay.h: * gdk/gdkwindow.h: * gdk/x11/gdkdisplay-x11.c (gdk_display_supports_shapes) (gdk_display_supports_input_shapes): Functions to determine if a display supports shaped windows or input shapes. * gdk/x11/gdkwindow-x11.c (gdk_window_input_shape_combine_region): (gdk_window_input_shape_combine_mask): (gdk_window_set_child_input_shapes): (gdk_window_merge_child_input_shapes): Input shape versions of the window shape API. * gtk/gtk.symbols: * gtk/gtkwidget.h: * gtk/gtkwidget.c (gtk_widget_input_shape_combine_mask): New function to set an input shape on a widget.
Diffstat (limited to 'gdk/gdkdisplay.h')
-rw-r--r--gdk/gdkdisplay.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h
index d00fa5b5b2..c627a08581 100644
--- a/gdk/gdkdisplay.h
+++ b/gdk/gdkdisplay.h
@@ -179,6 +179,9 @@ void gdk_display_store_clipboard (GdkDisplay *display,
GdkAtom *targets,
gint n_targets);
+gboolean gdk_display_supports_shapes (GdkDisplay *display);
+gboolean gdk_display_supports_input_shapes (GdkDisplay *display);
+
G_END_DECLS
#endif /* __GDK_DISPLAY_H__ */