mir: swap buffers on paint

This commit is contained in:
William Hua 2016-12-08 15:28:31 -05:00
parent 489aee5d00
commit 9a7b0847b9

View File

@ -974,13 +974,10 @@ gdk_mir_window_impl_begin_paint (GdkWindow *window)
static void
gdk_mir_window_impl_end_paint (GdkWindow *window)
{
#if 0
GdkMirWindowImpl *impl = GDK_MIR_WINDOW_IMPL (window->impl);
//g_printerr ("gdk_mir_window_impl_end_paint window=%p\n", window);
if (impl->visible && !window->current_paint.use_gl)
if (impl->visible)
send_buffer (window);
#endif
}
static cairo_region_t *