~cemil-azizoglu/mir/improve-raii-take2

« back to all changes in this revision

Viewing changes to src/server/input/cursor_controller.cpp

  • Committer: Cemil Azizoglu
  • Date: 2015-02-26 23:37:35 UTC
  • mfrom: (2323.1.24 development-branch)
  • Revision ID: cemil.azizoglu@canonical.com-20150226233735-zm2j3eunf26b2hgb
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include "mir/input/surface.h"
23
23
#include "mir/graphics/cursor.h"
24
24
#include "mir/scene/observer.h"
25
 
#include "mir/scene/surface_observer.h"
 
25
#include "mir/scene/null_surface_observer.h"
26
26
#include "mir/scene/surface.h"
27
27
 
28
28
#include <functional>
39
39
namespace
40
40
{
41
41
 
42
 
struct UpdateCursorOnSurfaceChanges : ms::SurfaceObserver
 
42
struct UpdateCursorOnSurfaceChanges : ms::NullSurfaceObserver
43
43
{
44
44
    UpdateCursorOnSurfaceChanges(mi::CursorController* cursor_controller)
45
45
        : cursor_controller(cursor_controller)