Unified · Split
| @@ -29,6 +29,7 @@ typedef struct Cursor Cursor; · 28 unmodified lines | ||
| 29 | 29 | #include <X11/IntrinsicP.h> |
| 30 | 30 | #include <X11/StringDefs.h> |
| 31 | 31 | #include <X11/keysym.h> |
| 32 | +#include <X11/XKBlib.h> | |
| 32 | 33 | #include "keysym2ucs.h" |
| 33 | 34 | |
| 34 | 35 | #undef Font |
| @@ -495,6 +496,8 @@ xinitscreen(void) · 460 unmodified lines | ||
| 495 | 496 | iprint("drawterm: open %r, DISPLAY is %s\n", disp_val); |
| 496 | 497 | exit(0); |
| 497 | 498 | } |
| 499 | + XkbSetDetectableAutoRepeat(xkmcon, True, NULL); | |
| 500 | + | |
| 498 | 501 | xsnarfcon = XOpenDisplay(NULL); |
| 499 | 502 | if(xsnarfcon == 0){ |
| 500 | 503 | disp_val = getenv("DISPLAY"); |