summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep/files/patch-configure.c
blob: 43929ee92f0e625f12e0e52537a5a68d494e3287 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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;