~alan-griffiths/miral/BasicWindowManager-modify_window-doesnt-set-policy

« back to all changes in this revision

Viewing changes to include/miral/toolkit/surface.h

  • Committer: Gerry Boland
  • Date: 2016-09-16 11:25:07 UTC
  • mfrom: (330.3.8 miral)
  • Revision ID: gerry.boland@canonical.com-20160916112507-h4z93cci3a9hjslc
Generate placement notifications to the client

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
    operator MirSurface*() const { return self.get(); }
39
39
 
 
40
    void reset() { self.reset(); }
 
41
 
40
42
private:
41
43
    static void deleter(MirSurface* surface) { mir_surface_release_sync(surface); }
42
44
    std::shared_ptr<MirSurface> self;