From 9e96d62b17d8c70b278c09922886e4be4c355594 Mon Sep 17 00:00:00 2001 From: Memphiz Date: Wed, 7 Jan 2015 21:25:38 +0100 Subject: [PATCH] [sdl/osx] - stop eating cmd+v keycombination away in sdlinput - application handles the paste shortcut already - fixes non-working paste on non-osd-keyboard textfields for osx --- xbmc/windowing/WinEventsSDL.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/xbmc/windowing/WinEventsSDL.cpp b/xbmc/windowing/WinEventsSDL.cpp index 13bb2c398b5c6..5c031528d6922 100644 --- a/xbmc/windowing/WinEventsSDL.cpp +++ b/xbmc/windowing/WinEventsSDL.cpp @@ -457,19 +457,6 @@ bool CWinEventsSDL::ProcessOSXShortcuts(SDL_Event& event) CApplicationMessenger::Get().Minimize(); return true; - case SDLK_v: // CMD-v to paste clipboard text - if (g_Windowing.IsTextInputEnabled()) - { - const char *szStr = Cocoa_Paste(); - if (szStr) - { - CGUIMessage msg(GUI_MSG_INPUT_TEXT, 0, 0); - msg.SetLabel(szStr); - g_windowManager.SendMessage(msg, g_windowManager.GetFocusedWindow()); - } - } - return true; - default: return false; }