diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c index f109e25a0b..4dec11e6bf 100644 --- a/gdk/gdkoffscreenwindow.c +++ b/gdk/gdkoffscreenwindow.c @@ -540,9 +540,11 @@ gdk_offscreen_window_show (GdkWindow *window, gboolean already_mapped) { GdkWindowObject *private = (GdkWindowObject *)window; + GdkRectangle area = { 0, 0, private->width, private->height }; - gdk_window_clear_area_e (window, 0, 0, - private->width, private->height); + gdk_window_clear_area (window, 0, 0, + private->width, private->height); + gdk_window_invalidate_rect (window, &area, FALSE); }