summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep1/files/patch-configure.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/afterstep1/files/patch-configure.c')
-rw-r--r--x11-wm/afterstep1/files/patch-configure.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/afterstep1/files/patch-configure.c b/x11-wm/afterstep1/files/patch-configure.c
new file mode 100644
index 000000000000..43929ee92f0e
--- /dev/null
+++ b/x11-wm/afterstep1/files/patch-configure.c
@@ -0,0 +1,11 @@
+--- afterstep/configure.c.orig 1997-03-09 00:43:54 UTC
++++ afterstep/configure.c
+@@ -2090,7 +2090,7 @@ void AddFuncKey (char *name, int cont, int mods, int f
+
+ XDisplayKeycodes(dpy, &min, &max);
+ for (i=min; i<=max; i++)
+- if (XKeycodeToKeysym(dpy, i, 0) == keysym)
++ if (XkbKeycodeToKeysym(dpy, i, 0, 0) == keysym)
+ {
+ tmp = (FuncKey *) safemalloc(sizeof(FuncKey));
+ tmp->next = Scr.FuncKeyRoot.next;