Skip to content
This repository
Browse code

[Fix] ACTION_GESTURE_NOTIFY should not trigger video osd.

  • Loading branch information...
commit e7be6109ad41233e1a7b3fe99f78bb3875d7b32b 1 parent c28ead9
ulion authored March 19, 2013
2  xbmc/music/windows/GUIWindowVisualisation.cpp
@@ -198,6 +198,8 @@ EVENT_RESULT CGUIWindowVisualisation::OnMouseEvent(const CPoint &point, const CM
198 198
     OnAction(CAction(ACTION_SHOW_GUI));
199 199
     return EVENT_RESULT_HANDLED;
200 200
   }
  201
+  if (event.m_id == ACTION_GESTURE_NOTIFY)
  202
+    return EVENT_RESULT_UNHANDLED;
201 203
   if (event.m_id != ACTION_MOUSE_MOVE || event.m_offsetX || event.m_offsetY)
202 204
   { // some other mouse action has occurred - bring up the OSD
203 205
     CGUIDialog *pOSD = (CGUIDialog *)g_windowManager.GetWindow(WINDOW_DIALOG_MUSIC_OSD);
2  xbmc/video/windows/GUIWindowFullScreen.cpp
@@ -852,6 +852,8 @@ EVENT_RESULT CGUIWindowFullScreen::OnMouseEvent(const CPoint &point, const CMous
852 852
   {
853 853
     return g_application.OnAction(CAction(ACTION_ANALOG_SEEK_BACK, 0.5f)) ? EVENT_RESULT_HANDLED : EVENT_RESULT_UNHANDLED;
854 854
   }
  855
+  if (event.m_id == ACTION_GESTURE_NOTIFY)
  856
+    return EVENT_RESULT_UNHANDLED;
855 857
   if (event.m_id != ACTION_MOUSE_MOVE || event.m_offsetX || event.m_offsetY)
856 858
   { // some other mouse action has occurred - bring up the OSD
857 859
     // if it is not already running

0 notes on commit e7be610

Please sign in to comment.
Something went wrong with that request. Please try again.