Advertisement
Guest User

Untitled

a guest
Jan 9th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
  2. index fc3b5ec..947d0cf 100644
  3. --- a/xbmc/Application.cpp
  4. +++ b/xbmc/Application.cpp
  5. @@ -516,6 +516,11 @@ bool CApplication::OnEvent(XBMC_Event& newEvent)
  6. case XBMC_TOUCH:
  7. {
  8. int windowId = g_windowManager.GetActiveWindow() & WINDOW_ID_MASK;
  9. + if (g_windowManager.HasModalDialog())
  10. + {
  11. + windowId = g_windowManager.GetTopMostModalDialogID() & WINDOW_ID_MASK;
  12. + }
  13. +
  14.  
  15. if (newEvent.touch.action == ACTION_TOUCH_TAP)
  16. { // Send a mouse motion event with no dx,dy for getting the current guiitem selected
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement