mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
gdk: Don't use clear_area_e() in offscreenwindow
Instead, call gdk_window_invalidate_rect() ourselves.
This commit is contained in:
parent
bfa6ad6e7c
commit
4b57560666
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user