mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
stage: handle unclipped redraw following clipped
In the case that an unclipped redraw of an actor is queued after a clipped we should update any existing ClutterStageQueueRedrawEntry so entry->has_clip = FALSE and free the previous clip.
This commit is contained in:
parent
d032b9b2bf
commit
07f2dba7e2
@ -3199,6 +3199,11 @@ _clutter_stage_queue_actor_redraw (ClutterStage *stage,
|
||||
* clip together with the existing clip */
|
||||
if (clip)
|
||||
clutter_paint_volume_union (&entry->clip, clip);
|
||||
else
|
||||
{
|
||||
clutter_paint_volume_free (&entry->clip);
|
||||
entry->has_clip = FALSE;
|
||||
}
|
||||
return entry;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user