diff --git a/ChangeLog b/ChangeLog index 48cb6ddab..0347ca6bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-06-25 Mark McLoughlin + + * src/fixedtip.c: (meta_fixed_tip_show): + * src/frames.c: (meta_frames_new): + * src/tabpopup.c: (meta_ui_tab_popup_new): + s/gdk_get_default_display/gdk_display_get_default/ + s/gdk_get_default_screen/gdk_screen_get_default/ + 2002-06-25 Mark McLoughlin * src/themes/Crux/active-border-top-left-border.png: diff --git a/src/fixedtip.c b/src/fixedtip.c index 39e98caaf..817ae9414 100644 --- a/src/fixedtip.c +++ b/src/fixedtip.c @@ -52,7 +52,7 @@ meta_fixed_tip_show (Display *xdisplay, int screen_number, { GdkScreen *gdk_screen; - gdk_screen = gdk_display_get_screen (gdk_get_default_display (), + gdk_screen = gdk_display_get_screen (gdk_display_get_default (), screen_number); gtk_window_set_screen (GTK_WINDOW (tip), gdk_screen); diff --git a/src/frames.c b/src/frames.c index a0f826bd6..b4fbc13f9 100644 --- a/src/frames.c +++ b/src/frames.c @@ -417,7 +417,7 @@ meta_frames_new (int screen_number) #ifdef HAVE_GTK_MULTIHEAD GdkScreen *screen; - screen = gdk_display_get_screen (gdk_get_default_display (), + screen = gdk_display_get_screen (gdk_display_get_default (), screen_number); return g_object_new (META_TYPE_FRAMES, diff --git a/src/tabpopup.c b/src/tabpopup.c index e47629ac2..6d5d283eb 100644 --- a/src/tabpopup.c +++ b/src/tabpopup.c @@ -115,7 +115,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries, popup->outline_window = gtk_window_new (GTK_WINDOW_POPUP); #ifdef HAVE_GTK_MULTIHEAD gtk_window_set_screen (GTK_WINDOW (popup->outline_window), - gdk_display_get_screen (gdk_get_default_display (), + gdk_display_get_screen (gdk_display_get_default (), screen_number)); #endif @@ -128,7 +128,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries, popup->window = gtk_window_new (GTK_WINDOW_POPUP); #ifdef HAVE_GTK_MULTIHEAD gtk_window_set_screen (GTK_WINDOW (popup->window), - gdk_display_get_screen (gdk_get_default_display (), + gdk_display_get_screen (gdk_display_get_default (), screen_number)); #endif