mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Clip exposed area to the visible region.
This avoids extra work, and it means we won't allocate large pixmaps for double buffering.
This commit is contained in:
parent
7da48afcaa
commit
815f0d7605
@ -4430,6 +4430,9 @@ gdk_window_process_updates_internal (GdkWindow *window)
|
||||
GdkRegion *window_region;
|
||||
gboolean end_implicit;
|
||||
|
||||
/* Clip to part visible in toplevel */
|
||||
gdk_region_intersect (update_area, private->clip_region);
|
||||
|
||||
if (debug_updates)
|
||||
{
|
||||
/* Make sure we see the red invalid area before redrawing. */
|
||||
|
Loading…
Reference in New Issue
Block a user