mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
...
This commit is contained in:
parent
d12a4b0a1a
commit
6b9c71ec62
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ PYWRAP1(key_to_bytes) {
|
|||
PYWRAP1(key_for_native_key_name) {
|
||||
const char *name;
|
||||
int case_sensitive = 0;
|
||||
PA("s|p", &name, case_sensitive);
|
||||
PA("s|p", &name, &case_sensitive);
|
||||
#ifndef __APPLE__
|
||||
if (glfwGetXKBScancode) { // if this function is called before GLFW is initialized glfwGetXKBScancode will be NULL
|
||||
int scancode = glfwGetXKBScancode(name, case_sensitive);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue