1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-30 02:12:30 +01:00

Use W_KeycodeToKeysym instead of XkbKeycodeToKeysym

This patch replaces XkbKeycodeToKeysym by our
own function W_KeycodeToKeysym.
This commit is contained in:
David Maciejak
2023-02-26 09:15:42 +08:00
committed by Carlos R. Mafra
parent bc56db0776
commit 9f8dc6f5dc
2 changed files with 4 additions and 2 deletions

View File

@@ -38,6 +38,7 @@
#include <X11/XKBlib.h>
#include <WINGs/WUtil.h>
#include <WINGs/WINGsP.h>
#include <wraster.h>
#include "window.h"
@@ -840,7 +841,7 @@ char *GetShortcutKey(WShortKey key)
}
}
key_name = XKeysymToString(XkbKeycodeToKeysym(dpy, key.keycode, 0, 0));
key_name = XKeysymToString(W_KeycodeToKeysym(dpy, key.keycode, 0));
if (!key_name)
return NULL;