mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 07:22:21 +08:00
fixed handling of ISO_Left_Tab when that is not mapped to a
keycode by mapping it to tab with shift pressed.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <X11/X.h>
|
||||
#include <X11/Xutil.h>
|
||||
#define XK_MISCELLANY
|
||||
#define XK_XKB_KEYS
|
||||
#include <X11/keysymdef.h>
|
||||
#include <X11/extensions/XTest.h>
|
||||
|
||||
@@ -664,6 +665,10 @@ bool CXWindowsSecondaryScreen::findKeyCode(
|
||||
id = XK_Delete;
|
||||
break;
|
||||
|
||||
case XK_ISO_Left_Tab:
|
||||
id = XK_Tab;
|
||||
break;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user