summaryrefslogtreecommitdiff
path: root/src/fixedtip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fixedtip.c')
-rw-r--r--src/fixedtip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fixedtip.c b/src/fixedtip.c
index 690576b..c9af6d0 100644
--- a/src/fixedtip.c
+++ b/src/fixedtip.c
@@ -43,9 +43,11 @@ meta_fixed_tip_show (Display *xdisplay, int screen_number,
if (tip == NULL)
{
tip = gtk_window_new (GTK_WINDOW_POPUP);
+#ifdef HAVE_GTK_MULTIHEAD
gtk_window_set_screen (GTK_WINDOW (tip),
gdk_display_get_screen (gdk_get_default_display (),
screen_number));
+#endif
gtk_widget_set_app_paintable (tip, TRUE);
gtk_window_set_policy (GTK_WINDOW (tip), FALSE, FALSE, TRUE);
gtk_widget_set_name (tip, "gtk-tooltips");