mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 05:18:25 +02:00
parent
96459ad45d
commit
f8cee2ebae
1 changed files with 0 additions and 8 deletions
|
|
@ -731,14 +731,6 @@ static void DarwinBuildModifierMaps(darwinKeyboardInfo *info) {
|
||||||
* it to an equivalent X keyboard map and modifier map.
|
* it to an equivalent X keyboard map and modifier map.
|
||||||
*/
|
*/
|
||||||
static void DarwinLoadKeyboardMapping(KeySymsRec *keySyms) {
|
static void DarwinLoadKeyboardMapping(KeySymsRec *keySyms) {
|
||||||
void* callstack[128];
|
|
||||||
int i, frames = backtrace(callstack, 128);
|
|
||||||
char** strs = backtrace_symbols(callstack, frames);
|
|
||||||
for (i = 0; i < frames; ++i) {
|
|
||||||
ErrorF("%s\n", strs[i]);
|
|
||||||
}
|
|
||||||
free(strs);
|
|
||||||
|
|
||||||
memset(keyInfo.keyMap, 0, sizeof(keyInfo.keyMap));
|
memset(keyInfo.keyMap, 0, sizeof(keyInfo.keyMap));
|
||||||
|
|
||||||
/* TODO: Clean this up
|
/* TODO: Clean this up
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue