]> Pileus Git - ~andy/gtk/commit
gdk: only emit display-opened after the default display has been set
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 8 Oct 2012 22:44:09 +0000 (18:44 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 8 Oct 2012 22:44:09 +0000 (18:44 -0400)
commite09cf6978e762d3a3c6d5b4fcf0a2124a99bc8f7
tree91e3776dbe64e9b9aa69a6aa3c9ecacf863a3933
parent7cf19c8e4ac5f20d7f5fc606d80b6dc2ec80ca87
gdk: only emit display-opened after the default display has been set

This avoids a case where the display has been opened, but calling
gdk_display_get_default() in the callback doesn't work.

Reviewed-by: Benjamin Otte <otte@redhat.com>
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkdisplaymanager-x11.c