Permalink
Browse files

keyboard map display name was wrong

  • Loading branch information...
1 parent d22561b commit fb5418fe0225dd5de4b149bdca31de0e4aa778d7 @phooky committed Jan 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 eventmap.c
View
2 eventmap.c
@@ -192,7 +192,7 @@ read_one(
int key = keymap[button];
if (key != 0)
{
- KeyCode code = XKeysymToKeycode(display, key);
+ KeyCode code = XKeysymToKeycode(dpy, key);
XTestFakeKeyEvent(dpy, code, is_press, 0);
//FakeKeyEvent(dpy, key, is_press, 0);
}

0 comments on commit fb5418f

Please sign in to comment.