~cemil-azizoglu/mir/egl-native-window-for-PCs

« back to all changes in this revision

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

  • Committer: Cemil Azizoglu
  • Date: 2016-06-02 16:05:13 UTC
  • mfrom: (3524.2.13 fix-1584784)
  • Revision ID: cemil.azizoglu@canonical.com-20160602160513-y52f09vbaetsciyu
merge with lp:~kdub/mir/fix-1584784

Show diffs side-by-side

added added

removed removed

Lines of Context:
541
541
{
542
542
    float const minimum_touch = mtf::FakeInputDevice::minimum_touch_axis_value;
543
543
    float const maximum_touch = mtf::FakeInputDevice::maximum_touch_axis_value;
544
 
    auto const display_width = screen_geometry.size.width.as_float();
545
 
    auto const display_height = screen_geometry.size.height.as_float();
 
544
    auto const display_width = screen_geometry.size.width.as_int();
 
545
    auto const display_height = screen_geometry.size.height.as_int();
546
546
 
547
547
    // We place a click 10% in to the touchscreens space in both axis,
548
548
    // and a second at 0,0. Thus we expect to see a click at