diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-01-09 22:41:05 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-01-09 22:41:05 +0000 |
commit | 9b26dae923793fa38d84b679445fa8dcdc595301 (patch) | |
tree | bf3e6828268c8016cad7a2c7c87558e3b7e01150 /guilib/GUIVideoControl.cpp | |
parent | bf00ddf8336528de8af410b0fa0e4a4846b10d8a (diff) |
fixed: check for visible in CanFocusFromPoint in vis and video controls
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26610 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIVideoControl.cpp')
-rw-r--r-- | guilib/GUIVideoControl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIVideoControl.cpp b/guilib/GUIVideoControl.cpp index c5e4686c75..545b8ca729 100644 --- a/guilib/GUIVideoControl.cpp +++ b/guilib/GUIVideoControl.cpp @@ -97,5 +97,5 @@ bool CGUIVideoControl::CanFocus() const bool CGUIVideoControl::CanFocusFromPoint(const CPoint &point) const { // mouse is allowed to focus this control, but it doesn't actually receive focus - return HitTest(point); + return IsVisible() && HitTest(point); } |