diff --git a/linux_4ed.cpp b/linux_4ed.cpp index 09d7250f..52144ef3 100644 --- a/linux_4ed.cpp +++ b/linux_4ed.cpp @@ -2146,6 +2146,11 @@ LinuxHandleX11Events(void) if(key == '\r') key = '\n'; if(key_no_caps == '\r') key_no_caps = '\n'; + // don't push modifiers + if(keysym >= XK_Shift_L && keysym <= XK_Hyper_R){ + break; + } + if(keysym == XK_ISO_Left_Tab){ key = key_no_caps = '\t'; mods[MDFR_SHIFT_INDEX] = 1;