gdk: Don't use clear_area_e() in offscreenwindow

Instead, call gdk_window_invalidate_rect() ourselves.
This commit is contained in:
Benjamin Otte 2010-08-15 03:10:16 +02:00
parent bfa6ad6e7c
commit 4b57560666

View File

@ -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);
}