mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
6ee228a363
commit
294e222fa8
@ -1396,6 +1396,8 @@ _gdk_gc_update_context (GdkGC *gc,
|
||||
|
||||
priv = GDK_GC_GET_PRIVATE (gc);
|
||||
|
||||
_gdk_gc_remove_drawable_clip (gc);
|
||||
|
||||
fill = priv->fill;
|
||||
if (override_stipple && fill != GDK_OPAQUE_STIPPLED)
|
||||
fill = GDK_STIPPLED;
|
||||
|
Loading…
Reference in New Issue
Block a user