[Xorg] Flash player plugin and Xserver
Douglas McMorris
dougmc83 at mail.utexas.edu
Wed Jun 9 14:50:46 PDT 2004
Yep, that fixed my problem, thanks Keith.
On Mon, 2004-06-07 at 16:28 -0700, Keith Packard wrote:
> Around 17 o'clock on Jun 7, Douglas McMorris wrote:
>
> > I can't get the flashplayer plugin from macromedia work with the kdrive
> > Xserver. Not sure whats going on, but heres the error I get... (note:
> > same problem in mozilla... i just use epiphany)
>
> You've got to hide the non-default visuals from flash -- it appears to
> assume the visual used for its window is the deepest available visual
> instead of actually checking.
>
> I've got a kludge in Xlib that I'm using to make flash and mozilla always
> use the default visual (by removing all others from view). Enable it
> with:
>
> $ XLIB_SKIP_EXTRA_VISUALS=yes mozilla
>
> Yes, flash is broken. But then, mozilla is pretty nasty as well -- it
> selects my depth 24 visual now that I have one even though the root window
> is depth 16. Fun with visuals!
>
> -keith
>
> Index: src/OpenDis.c
> ===================================================================
> RCS file: /cvs/xlibs/X11/src/OpenDis.c,v
> retrieving revision 3.22
> diff -u -r3.22 OpenDis.c
> --- a/src/OpenDis.c 17 Mar 2004 18:06:35 -0000 3.22
> +++ b/src/OpenDis.c 7 Jun 2004 23:26:27 -0000
> @@ -596,6 +596,13 @@
> u.vp = (xVisualType *) (((char *) u.vp) +
> sz_xVisualType);
> }
> + if (dp->depth != sp->root_depth &&
> + getenv ("XLIB_SKIP_EXTRA_VISUALS"))
> + {
> + Xfree (dp->visuals);
> + dp->visuals = NULL;
> + dp->nvisuals = 0;
> + }
> } else {
> dp->visuals = (Visual *) NULL;
> }
>
More information about the xorg
mailing list