diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-06-22 09:26:01 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-06-22 10:20:50 -0400 |
commit | a1fb252ebaa79f1ad0365459091998618cd90e5e (patch) | |
tree | bd99c8f7bff773fb32cccf9c885cd4911060553f /gdk/broadway | |
parent | b59d2d1afac8b6a99eb63372d5a5de1acb25017c (diff) | |
download | gtk+-a1fb252ebaa79f1ad0365459091998618cd90e5e.tar.gz |
gdkwindow-broadway: Move the dirty flag setting to end_paint
This is where it belongs -- process_updates_recurse is the wrong place
for it.
Diffstat (limited to 'gdk/broadway')
-rw-r--r-- | gdk/broadway/gdkwindow-broadway.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gdk/broadway/gdkwindow-broadway.c b/gdk/broadway/gdkwindow-broadway.c index 49a48ac527..75a12d943b 100644 --- a/gdk/broadway/gdkwindow-broadway.c +++ b/gdk/broadway/gdkwindow-broadway.c @@ -991,6 +991,13 @@ gdk_broadway_window_get_input_shape (GdkWindow *window) return NULL; } +static void +gdk_broadway_window_end_paint (GdkWindow *window) +{ + GdkWindowImplBroadway *impl; + impl = GDK_WINDOW_IMPL_BROADWAY (window->impl); + impl->dirty = TRUE; +} static gboolean gdk_window_broadway_set_static_gravities (GdkWindow *window, @@ -1477,12 +1484,7 @@ static void gdk_broadway_window_process_updates_recurse (GdkWindow *window, cairo_region_t *region) { - GdkWindowImplBroadway *impl; - _gdk_window_process_updates_recurse (window, region); - - impl = GDK_WINDOW_IMPL_BROADWAY (window->impl); - impl->dirty = TRUE; } void @@ -1536,6 +1538,7 @@ gdk_window_impl_broadway_class_init (GdkWindowImplBroadwayClass *klass) impl_class->destroy_foreign = gdk_broadway_window_destroy_foreign; impl_class->get_shape = gdk_broadway_window_get_shape; impl_class->get_input_shape = gdk_broadway_window_get_input_shape; + impl_class->end_paint = gdk_broadway_window_end_paint; impl_class->beep = gdk_broadway_window_beep; impl_class->focus = gdk_broadway_window_focus; |