summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep1/files/patch-configure.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2024-07-15 14:02:19 +0200
committerDirk Meyer <dinoex@FreeBSD.org>2024-07-15 14:02:19 +0200
commit90a34e05a8136060f3f2ffc10b6b054115ad2746 (patch)
tree76098504cecec5a0eaf178fa6443359327237a26 /x11-wm/afterstep1/files/patch-configure.c
parentx11-wm/afterstep: fix distinfo (diff)
x11-wm/afterstep: move to x11-wm/afterstep1
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;