~alan-griffiths/qtmir/mir-0.27-compat-artful

« back to all changes in this revision

Viewing changes to tests/framework/stub_windowcontroller.h

  • Committer: Bileto Bot
  • Author(s): Gerry Boland
  • Date: 2017-03-28 17:12:22 UTC
  • mfrom: (618.4.16 availableDesktopArea)
  • Revision ID: ci-train-bot@canonical.com-20170328171222-oe9veuhwgimi0qq7
Don't let a child window go offscreen because its parent moved

Approved by: Daniel d'Andrada, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    void deliverKeyboardEvent(const miral::Window &/*window*/, const MirKeyboardEvent */*event*/) override { return; }
38
38
    void deliverTouchEvent   (const miral::Window &/*window*/, const MirTouchEvent */*event*/)    override { return; }
39
39
    void deliverPointerEvent (const miral::Window &/*window*/, const MirPointerEvent */*event*/)  override { return; }
 
40
 
 
41
    void setWindowConfinementRegions(const QVector<QRect> &/*regions*/) override { return; }
 
42
    void setWindowMargins(Mir::Type /*windowType*/, const QMargins &/*margins*/) override { return; }
40
43
};
41
44
 
42
45
} //namespace qtmir