summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
Diffstat (limited to 'gdk')
-rw-r--r--gdk/x11/gdksurface-x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index 9f6c7b2d2d..db8a8770ed 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -201,6 +201,8 @@ gdk_x11_surface_update_size (GdkX11Surface *self,
cairo_surface_set_device_scale (self->cairo_surface, scale, scale);
}
+ gdk_surface_invalidate_rect (surface, NULL);
+
return TRUE;
}