chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "fishdescriptor: for revert: attempt at setuptools"
[chiark-utils.git]
/
cprogs
/
xduplic-copier.c
diff --git
a/cprogs/xduplic-copier.c
b/cprogs/xduplic-copier.c
index 7118d951a9d8444f121979b55b9b8d1e8bbda211..d9703a55e72ed42fb2c51c7ae0a7da054deeda22 100644
(file)
--- a/
cprogs/xduplic-copier.c
+++ b/
cprogs/xduplic-copier.c
@@
-20,6
+20,7
@@
#include <X11/cursorfont.h>
#include <X11/cursorfont.h>
#include <X11/Xmu/WinUtil.h>
#include <X11/cursorfont.h>
#include <X11/cursorfont.h>
#include <X11/Xmu/WinUtil.h>
+#include <X11/XKBlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
@@
-202,7
+203,7
@@
static void keypress(XKeyEvent *e) {
(unsigned long)e->time,
e->x,e->y, e->x_root,e->y_root,
e->state, e->keycode, (int)e->same_screen);
(unsigned long)e->time,
e->x,e->y, e->x_root,e->y_root,
e->state, e->keycode, (int)e->same_screen);
- if (X
KeycodeToKeysym(display, e->keycode
, 0) == XK_q) _exit(1);
+ if (X
kbKeycodeToKeysym(display, e->keycode, 0
, 0) == XK_q) _exit(1);
beep(); return;
}
for (own=headwn; own; own=own->next) {
beep(); return;
}
for (own=headwn; own; own=own->next) {