Ensure gc clip region valid in _gdk_gc_update_context
There might be an old drawable clip on it, if so remove it.
This commit is contained in:
@ -1396,6 +1396,8 @@ _gdk_gc_update_context (GdkGC *gc,
|
|||||||
|
|
||||||
priv = GDK_GC_GET_PRIVATE (gc);
|
priv = GDK_GC_GET_PRIVATE (gc);
|
||||||
|
|
||||||
|
_gdk_gc_remove_drawable_clip (gc);
|
||||||
|
|
||||||
fill = priv->fill;
|
fill = priv->fill;
|
||||||
if (override_stipple && fill != GDK_OPAQUE_STIPPLED)
|
if (override_stipple && fill != GDK_OPAQUE_STIPPLED)
|
||||||
fill = GDK_STIPPLED;
|
fill = GDK_STIPPLED;
|
||||||
|
|||||||
Reference in New Issue
Block a user