Correctly set X display on plugins. Bug 116924, patch by Sergi

<sep@sparc.spb.su>, r=serge, sr=beard, a=roc+moz
This commit is contained in:
bzbarsky%mit.edu 2002-02-22 00:28:44 +00:00
parent 08d2ef88e2
commit b37995bb9e

View File

@ -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) {