~cemil-azizoglu/mir/enum-deprecation

« back to all changes in this revision

Viewing changes to tests/mir_test_framework/visible_surface.cpp

  • Committer: Cemil Azizoglu
  • Date: 2017-01-03 18:06:41 UTC
  • Revision ID: cemil.azizoglu@canonical.com-20170103180641-1kv03uueb1kercvn
mir_window_create and mir_window_create_sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    visible{false}
24
24
{
25
25
    mir_window_spec_set_event_handler(spec, VisibleSurface::event_callback, this);
26
 
    surface = mir_surface_create_sync(spec);
 
26
    surface = mir_window_create_sync(spec);
27
27
    // Swap buffers to ensure surface is visible for event based tests
28
28
    if (mir_window_is_valid(surface))
29
29
    {