GNOME Bugzilla – Bug 85696
Hook for display creation
Last modified: 2011-02-04 16:11:17 UTC
It's possible that a Gtk module would need to do some per-display initialization. We probably should add some hook to allow notification when a new display is opened.
Thu Jun 20 16:49:00 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c gdk/win32/gdkdisplay-win32.c: Add a singleton object that we can use to get notification when displays appear / disappear or the default display changes. gdk_set_default_display() => gdk_display_manager_set_default_display() gdk_list_displays() => gdk_display_manager_list_displays(). (#85696)