Skip to content

Commit

Permalink
mir: swap buffers on paint
Browse files Browse the repository at this point in the history
  • Loading branch information
William Hua committed Dec 8, 2016
1 parent 489aee5 commit 9a7b084
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gdk/mir/gdkmirwindowimpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand Down

0 comments on commit 9a7b084

Please sign in to comment.