mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-15 23:29:21 +03:00
Fix clipping.
svn path=/trunk/netsurf/; revision=4223
This commit is contained in:
parent
601c02f08b
commit
e17b53bc02
@ -188,6 +188,12 @@ bool nsgtk_plot_clip(int clip_x0, int clip_y0,
|
||||
clip_x1 - clip_x0, clip_y1 - clip_y0);
|
||||
cairo_clip(current_cr);
|
||||
|
||||
cliprect.x = clip_x0;
|
||||
cliprect.y = clip_y0;
|
||||
cliprect.width = clip_x1 - clip_x0;
|
||||
cliprect.height = clip_y1 - clip_y0;
|
||||
gdk_gc_set_clip_rectangle(current_gc, &cliprect);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user