Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
- index fc3b5ec..947d0cf 100644
- --- a/xbmc/Application.cpp
- +++ b/xbmc/Application.cpp
- @@ -516,6 +516,11 @@ bool CApplication::OnEvent(XBMC_Event& newEvent)
- case XBMC_TOUCH:
- {
- int windowId = g_windowManager.GetActiveWindow() & WINDOW_ID_MASK;
- + if (g_windowManager.HasModalDialog())
- + {
- + windowId = g_windowManager.GetTopMostModalDialogID() & WINDOW_ID_MASK;
- + }
- +
- if (newEvent.touch.action == ACTION_TOUCH_TAP)
- { // 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