Send UTF-8 clipboard text directly rather than emulating keystrokes

This commit is contained in:
Cameron Gutman
2021-12-03 11:32:58 +03:00
parent c7121516c1
commit 97a09e0571
6 changed files with 20 additions and 242 deletions
-9
View File
@@ -138,9 +138,6 @@ private:
static
Uint32 dragTimerCallback(Uint32 interval, void* param);
static
int clipboardThreadProc(void *ptr);
SDL_Window* m_Window;
bool m_MultiController;
bool m_GamepadMouse;
@@ -191,11 +188,5 @@ private:
char m_DragButton;
int m_NumFingersDown;
SDL_Thread* m_ClipboardThread;
SDL_atomic_t m_ShutdownClipboardThread;
QString m_ClipboardData;
SDL_cond* m_ClipboardHasData;
SDL_mutex* m_ClipboardLock;
static const int k_ButtonMap[];
};