Skip to content
Snippets Groups Projects
Commit e95dc8c2 authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

:earless:

parent b1e6c4e4
Branches
No related tags found
No related merge requests found
...@@ -1287,7 +1287,7 @@ boolean HU_Responder(event_t *ev) ...@@ -1287,7 +1287,7 @@ boolean HU_Responder(event_t *ev)
c = (INT32)ev->data1; c = (INT32)ev->data1;
// pasting. pasting is cool. chat is a bit limited, though :( // pasting. pasting is cool. chat is a bit limited, though :(
if (((c == 'v' || c == 'V') && ctrldown && ev->type == ev_textinput) && !CHAT_MUTE) if (((c == 'v' || c == 'V') && ctrldown && ev->type == ev_keydown) && !CHAT_MUTE)
{ {
const char *paste = I_ClipboardPaste(); const char *paste = I_ClipboardPaste();
size_t chatlen; size_t chatlen;
......
...@@ -333,7 +333,7 @@ static INT32 Impl_SDL_Scancode_To_Keycode(SDL_Scancode code, Uint32 type) ...@@ -333,7 +333,7 @@ static INT32 Impl_SDL_Scancode_To_Keycode(SDL_Scancode code, Uint32 type)
} }
// Do send keyup events to avoid stuck movement keys // Do send keyup events to avoid stuck movement keys
if (type != SDL_KEYUP) if (type != SDL_KEYUP && (!ctrldown))
{ {
// Lactozilla: console input // Lactozilla: console input
if (CON_AcceptInput()) if (CON_AcceptInput())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment