From b37995bb9ebd53bb5328a85a8a6537b07d405c59 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Fri, 22 Feb 2002 00:28:44 +0000 Subject: [PATCH] Correctly set X display on plugins. Bug 116924, patch by Sergi , r=serge, sr=beard, a=roc+moz --- widget/src/gtkxtbin/gtkxtbin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/gtkxtbin/gtkxtbin.c b/widget/src/gtkxtbin/gtkxtbin.c index fa4baa04fb00..ed1e0ea08d45 100644 --- a/widget/src/gtkxtbin/gtkxtbin.c +++ b/widget/src/gtkxtbin/gtkxtbin.c @@ -380,7 +380,7 @@ gtk_xtbin_new (GdkWindow *parent_window, String * f) if (fallback) XtAppSetFallbackResources(app_context, fallback); - xtdisplay = XtOpenDisplay(app_context, NULL, NULL, + xtdisplay = XtOpenDisplay(app_context, gdk_get_display(), NULL, "Wrapper", NULL, 0, &mArgc, mArgv); if (!xtdisplay) {