summaryrefslogtreecommitdiff
path: root/gdk/x11/gdksurface-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/x11/gdksurface-x11.c')
-rw-r--r--gdk/x11/gdksurface-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index f4ecd5d2f8..654876e2b8 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -397,7 +397,7 @@ gdk_x11_surface_end_frame (GdkSurface *surface)
g_intern_static_string ("_NET_WM_FRAME_DRAWN")))
{
impl->toplevel->frame_pending = TRUE;
- _gdk_frame_clock_freeze (gdk_surface_get_frame_clock (surface));
+ gdk_surface_freeze_updates (surface);
timings->cookie = impl->toplevel->current_counter_value;
}
}