~unity-team/unity/wily

« back to all changes in this revision

Viewing changes to tests/test-gestures/WindowGestureTargetMock.h

  • Committer: CI Train Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2015-12-03 10:39:47 UTC
  • mfrom: (4008.8.10 use-cursor-cache)
  • Revision ID: ci-train-bot@canonical.com-20151203103947-u2xgnuaa6sa5gbim
Unity: use compiz cursorCache to get properly updated cursors

We avoid duplicating instances and they're automatically recreated
when the system cursor setting change. Fixes: #1359211
Approved by: Andrea Azzarone

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    CompWindowMock *window;
33
33
    std::list<nux::GestureEvent> events_received;
34
34
 
35
 
    static Cursor fleur_cursor;
36
35
  private:
37
36
    virtual bool Equals(const nux::GestureTarget& other) const
38
37
    {