forked from AuroraMiddleware/gtk
Fix win32 GC set_region handling of reset_region
This commit is contained in:
parent
5341efd4d4
commit
593d5441d4
@ -598,12 +598,11 @@ _gdk_windowing_gc_set_clip_region (GdkGC *gc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (reset_origin)
|
if (reset_origin)
|
||||||
{
|
{
|
||||||
gc->clip_x_origin = 0;
|
gc->clip_x_origin = 0;
|
||||||
gc->clip_y_origin = 0;
|
gc->clip_y_origin = 0;
|
||||||
}
|
win32_gc->values_mask &= ~(GDK_GC_CLIP_X_ORIGIN | GDK_GC_CLIP_Y_ORIGIN);
|
||||||
|
}
|
||||||
win32_gc->values_mask &= ~(GDK_GC_CLIP_X_ORIGIN | GDK_GC_CLIP_Y_ORIGIN);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user