~mir-team/mr/new-input-dispatcher

« back to all changes in this revision

Viewing changes to src/server/input/null_input_targeter.h

  • Committer: Robert Carr
  • Date: 2015-04-15 17:49:14 UTC
  • Revision ID: robert.carr@canonical.com-20150415174914-8idibsm85kyrzoiy
Progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
{
26
26
namespace input
27
27
{
28
 
class InputChannel;
29
28
 
30
29
struct NullInputTargeter : public shell::InputTargeter
31
30
{
32
31
    NullInputTargeter() = default;
33
32
    virtual ~NullInputTargeter() noexcept(true) = default;
34
33
 
35
 
    void focus_changed(std::shared_ptr<InputChannel const> const&) override
 
34
    void set_focus(std::shared_ptr<input::Surface> const&) override
36
35
    {
37
36
    }
38
37
 
39
 
    void focus_cleared() override
 
38
    void clear_focus() override
40
39
    {
41
40
    }
42
41
};