fix linux shift-tab

This commit is contained in:
insofaras 2016-04-11 23:53:01 +01:00
parent b3c4f2b6e8
commit 28061d6b52
1 changed files with 5 additions and 0 deletions

View File

@ -2277,6 +2277,11 @@ main(int argc, char **argv)
Event.xkey.state &= ~LockMask; Event.xkey.state &= ~LockMask;
XLookupString(&Event.xkey, no_caps_buff, sizeof(no_caps_buff), NULL, NULL); XLookupString(&Event.xkey, no_caps_buff, sizeof(no_caps_buff), NULL, NULL);
if(keysym == XK_ISO_Left_Tab){
*buff = *no_caps_buff = '\t';
mods[MDFR_SHIFT_INDEX] = 1;
}
u8 key = keycode_lookup(Event.xkey.keycode); u8 key = keycode_lookup(Event.xkey.keycode);
if(key){ if(key){