~afrantzis/mir/reproduce-1444047

« back to all changes in this revision

Viewing changes to tests/acceptance-tests/throwback/test_client_input.cpp

  • Committer: Tarmac
  • Author(s): Robert Carr, Daniel van Vugt
  • Date: 2015-04-10 01:59:08 UTC
  • mfrom: (2421.3.8 privatize-event)
  • Revision ID: tarmac-20150410015908-3cmlua1qnsbz324m
Privatize event definition header.

Approved by Chris Halse Rogers, PS Jenkins bot, Alan Griffiths.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *              Alexandros Frantzis <alexandros.frantzis@canonical.com>
19
19
 */
20
20
 
21
 
#define MIR_INCLUDE_DEPRECATED_EVENT_HEADER 
22
 
 
 
21
#include "mir/events/event_private.h"
23
22
#include "mir/shell/shell_wrapper.h"
24
23
#include "mir/scene/surface_creation_parameters.h"
25
24
#include "mir/scene/surface.h"
108
107
    {
109
108
        auto const client = static_cast<InputClient*>(context);
110
109
 
111
 
        if (ev->type == mir_event_type_surface)
 
110
        if (mir_event_get_type(ev) == mir_event_type_surface)
112
111
            return;
113
112
 
114
113
        client->handler.handle_input(ev);