From 3f6441ea3ab67b4deea57e1ab127d27021738895 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 9 Dec 2003 23:12:53 +0000 Subject: Improve the GDK API for dealing with group leaders (#119375): Wed Dec 10 00:06:24 2003 Matthias Clasen Improve the GDK API for dealing with group leaders (#119375): * gdk/gdkwindow.h: * gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to get the group leader of a toplevel window as a GdkWindow. * gdk/gdkdisplay.h: * gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New function to get the default group leader as a GdkWindow. * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for the GdkWindow of the default group leader. * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow for the default group leader. --- gdk/gdkwindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdk/gdkwindow.h') diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index 0c60f21d2a..1eadf0044d 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -484,6 +484,7 @@ void gdk_window_set_icon_name (GdkWindow *window, const gchar *name); void gdk_window_set_group (GdkWindow *window, GdkWindow *leader); +GdkWindow* gdk_window_get_group (GdkWindow *window); void gdk_window_set_decorations (GdkWindow *window, GdkWMDecoration decorations); gboolean gdk_window_get_decorations (GdkWindow *window, -- cgit v1.2.1