зеркало из https://github.com/mozilla/gecko-dev.git
Bug #207036. Black line above the flash plugin shouldn't be there. Make sure
to set the border width to zero in Xt. Patch from Klaus Stengel. r=blizzard,sr=dbaron
This commit is contained in:
Родитель
003413e82a
Коммит
3c4a37ba92
|
@ -511,7 +511,7 @@ xt_client_create ( XtClient* xtclient ,
|
|||
int width )
|
||||
{
|
||||
int n;
|
||||
Arg args[5];
|
||||
Arg args[6];
|
||||
Widget child_widget;
|
||||
Widget top_widget;
|
||||
|
||||
|
@ -540,6 +540,7 @@ xt_client_create ( XtClient* xtclient ,
|
|||
XtSetArg(args[n], XtNvisual, xtclient->xtvisual ); n++;
|
||||
XtSetArg(args[n], XtNdepth, xtclient->xtdepth ); n++;
|
||||
XtSetArg(args[n], XtNcolormap, xtclient->xtcolormap ); n++;
|
||||
XtSetArg(args[n], XtNborderWidth, 0); n++;
|
||||
XtSetValues(child_widget, args, n);
|
||||
|
||||
XSync(xtclient->xtdisplay, FALSE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче