~kgunn72/mir/dont-crash-when-shooting-invalid-surface

« back to all changes in this revision

Viewing changes to src/server/input/android/android_input_window_handle.cpp

  • Committer: Tarmac
  • Author(s): Alan Griffiths, Alexandros Frantzis, Daniel van Vugt, Kevin DuBois, Christopher James Halse Rogers, chris.gagnon, Mathieu Trudel-Lapierre, Robert Carr, Automatic PS uploader, Kevin Gunn, Daniel d'Andrada, Christopher James Halse Rogers, Michael Terry, Brandon Schaefer, Timo Jyrinki, Mir Team, Andreas Pokorny
  • Date: 2013-12-20 11:11:22 UTC
  • mfrom: (1169.1.1 version-0.1.3)
  • Revision ID: tarmac-20131220111122-h503fd1fnq7pn9za
Latest upstream release: Mir 0.1.3 (r1298).

Approved by Alan Griffiths, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    mInfo->frameTop = surface_position.y.as_uint32_t();
77
77
    mInfo->frameRight = mInfo->frameLeft + surface_size.width.as_uint32_t();
78
78
    mInfo->frameBottom = mInfo->frameTop + surface_size.height.as_uint32_t();
79
 
    
 
79
 
80
80
    mInfo->touchableRegionLeft = mInfo->frameLeft;
81
81
    mInfo->touchableRegionTop = mInfo->frameTop;
82
82
    mInfo->touchableRegionRight = mInfo->frameRight;