~robert-ancell/unity/ubuntu-session

« back to all changes in this revision

Viewing changes to decorations/DecorationsInputMixer.cpp

  • Committer: CI bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2014-02-14 23:05:22 UTC
  • mfrom: (3656.1.9 decorations-menu)
  • Revision ID: ps-jenkins@lists.canonical.com-20140214230522-piumdig8mkip2h5j
{DecorationsGrabEdge, PanelTitlebarGrabAreaView}: show the WindowAction menu on right-click Fixes: 1098419, 1280042

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
  last_mouse_owner_ = nullptr;
124
124
}
125
125
 
 
126
void InputMixer::UngrabPointer()
 
127
{
 
128
  mouse_down_ = false;
 
129
  UnsetMouseOwner();
 
130
}
 
131
 
126
132
Item::Ptr const& InputMixer::GetMouseOwner() const
127
133
{
128
134
  return last_mouse_owner_;