~unity-team/unity8/trunk

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/Application/MirSurface.h

  • Committer: Bileto Bot
  • Author(s): Daniel d'Andrada
  • Date: 2017-03-21 10:53:56 UTC
  • mfrom: (2867.1.2 allowClientResize)
  • Revision ID: ci-train-bot@canonical.com-20170321105356-1m6cgt8z0jye63pu
Don't let clients resize their surfaces while in staged (phone/tablet) mode (LP: #1670390)

Approved by: Gerry Boland, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 
94
94
    bool confinesMousePointer() const override { return false; }
95
95
 
 
96
    bool allowClientResize() const override { return true; }
 
97
    void setAllowClientResize(bool) override {}
 
98
 
96
99
    QPoint requestedPosition() const override { return m_requestedPosition; }
97
100
    void setRequestedPosition(const QPoint &) override;
98
101