~hikiko/mir/mir.unity8-desktop-session

« back to all changes in this revision

Viewing changes to src/server/scene/surface_data.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Daniel van Vugt, Ubuntu daily release
  • Date: 2014-01-08 02:04:38 UTC
  • mfrom: (1.1.54)
  • Revision ID: package-import@ubuntu.com-20140108020438-ikbu7qqm9v2l026y
Tags: 0.1.3+14.04.20140108-0ubuntu1
[ Daniel van Vugt ]
* Preparing for release 0.1.3

[ Ubuntu daily release ]
* Automatic snapshot from revision 1170

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    std::unique_lock<std::mutex> lk(guard);
47
47
 
48
48
    auto surface_size = surface_rect.size;
49
 
    auto surface_top_left = surface_rect.top_left; 
 
49
    auto surface_top_left = surface_rect.top_left;
50
50
    if (transformation_dirty || transformation_size != surface_size)
51
51
    {
52
52
        const glm::vec3 top_left_vec{surface_top_left.x.as_int(),
183
183
        if (rectangle.contains(point))
184
184
        {
185
185
            return true;
186
 
        } 
 
186
        }
187
187
    }
188
188
    return false;
189
189
}