diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-11-02 05:37:04 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-11-02 05:37:04 +0000 |
commit | accc3a3365fa56b02e647686750e5106e020c425 (patch) | |
tree | 8d5129f3e28bf612bd5fd3ec065da1e4e6ec6a7c /gdk/x11/gdkmain-x11.c | |
parent | 39a5a723f0381cca485fd366499a07e31b57c89f (diff) | |
download | gdk-pixbuf-accc3a3365fa56b02e647686750e5106e020c425.tar.gz |
Add startup notification hooks - mostly based on patch by Havoc Pennington
Sat Nov 2 00:22:33 2002 Owen Taylor <otaylor@redhat.com>
Add startup notification hooks - mostly based on patch
by Havoc Pennington in #96772.
* gdk/gdk.h gdk/x11/gdkdisplay-x11.c
gdk/{win32,linux-fb}/gdkmain-*.c: (gdk_notify_startup_complete):
new function that indicates an application has finished starting
up.
* gdk/x11/gdkmain-x11.c gdk/x11/gdkdisplay-x11.c
(_gdk_windowing_set_default_display): store value of
DESKTOP_STARTUP_ID on the default screen, and clear it from the
environment.
* gdk/x11/gdkdisplay-x11.c:
Set _NET_STARTUP_ID hint on display's group leader window.
* gtk/gtkwindow.c (gtk_window_set_auto_startup_notification):
function to toggle whether we automatically broadcast that we've
started up, after mapping the first toplevel window.
(gtk_window_map): call gdk_screen_notify_startup_complete() by
default, unless enabled by above.
* gtk/gtkmain.c gtk/gtkcombo.c gtk/gtktoolbar.c:
Couple of warning fixes.
Diffstat (limited to 'gdk/x11/gdkmain-x11.c')
-rw-r--r-- | gdk/x11/gdkmain-x11.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index 27a09b3a3..2d8828db3 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -105,15 +105,6 @@ _gdk_windowing_init (gint *argc, } void -_gdk_windowing_set_default_display (GdkDisplay *display) -{ - if (display) - gdk_display = GDK_DISPLAY_XDISPLAY (display); - else - gdk_display = NULL; -} - -void gdk_set_use_xshm (gboolean use_xshm) { } |