I misused clutter_actor_set_clip within the new_window_cb, which is never
executed until a new window popped up. It's not the bug of ClutterMozEmbed.

Thanks Chris still! :)

On Tue, Sep 22, 2009 at 5:06 PM, Chris Lord <[email protected]> wrote:

> Hi Cong,
>
> Have you tried this with just a straight ClutterRectangle? If you set a
> clip on a group that ClutterMozEmbed is inside, that should always work
> (well, setting the clip on ClutterMozEmbed should work too).
>
> It sounds like perhaps clipping isn't working on your platform? Clipping
> requires stencil buffer support, it'd be good to verify that clipping is
> working at all before I take a look at ClutterMozEmbed.
>
> Cheers,
>
> --Chris
>
>
> On Tue, 2009-09-15 at 16:37 +0800, Cong Liu wrote:
> > I want to clip out the mozembed actor when it has been moved out of
> > the clipping area.
> >
> > Firstly, I add the mozembed to a ClutterGroup and set a very small
> > clip (50x50 from [0,0]) on the group, but nothing was clipped.
> > Secondly, I tried to set clip on mozebed directly, but failed again.
> >
> > How could I set clip on mozembed?
> >
> > Thanks,
> > Cong
>
>

Reply via email to